diff options
Diffstat (limited to 'library/clangd')
| -rw-r--r-- | library/clangd | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/library/clangd b/library/clangd new file mode 100644 index 0000000..624678a --- /dev/null +++ b/library/clangd | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | CompileFlags: | ||
| 2 | Add: | ||
| 3 | - -std=c99 | ||
| 4 | - -xc | ||
| 5 | |||
| 6 | - -Iinclude | ||
| 7 | |||
| 8 | - -Wall | ||
| 9 | - -Wextra | ||
| 10 | - -Wpedantic | ||
| 11 | - -Wshadow | ||
| 12 | - -Wconversion | ||
| 13 | - -Wsign-conversion | ||
| 14 | - -Wmissing-declarations | ||
| 15 | - -Wundef | ||
| 16 | - -Wpointer-arith | ||
| 17 | - -Wcast-align | ||
| 18 | - -Wcast-qual | ||
| 19 | - -Wwrite-strings | ||
| 20 | - -Wswitch-enum | ||
| 21 | - -Wformat=2 | ||
| 22 | - -Wstrict-aliasing=2 | ||
| 23 | - -Werror=implicit-function-declaration | ||
| 24 | - -Werror=implicit-int | ||
| 25 | - -Werror=incompatible-pointer-types | ||
| 26 | - -Werror=return-type | ||
| 27 | - -Wformat-security | ||
| 28 | - -Wnull-dereference | ||
| 29 | - -Wmisleading-indentation | ||
| 30 | |||
| 31 | - -Wunused | ||
| 32 | - -Wuninitialized | ||
| 33 | - -Werror | ||
| 34 | - -Wdouble-promotion | ||
| 35 | - -Wstrict-overflow=2 | ||
| 36 | |||
| 37 | - -D_POSIX_C_SOURCE=200809L | ||
| 38 | - "-I/include" | ||
| 39 | |||
| 40 | Remove: | ||
| 41 | - -std=* | ||
| 42 | - -O* | ||
| 43 | - -march=* | ||
| 44 | - -mtune=* | ||
| 45 | |||
| 46 | |||
| 47 | Hover: | ||
| 48 | ShowAKA: true | ||
| 49 | |||
| 50 | InlayHints: | ||
| 51 | Enabled: true | ||
| 52 | ParameterNames: true | ||
| 53 | DeducedTypes: true | ||
| 54 | |||
| 55 | Completion: | ||
| 56 | AllScopes: true | ||
| 57 | |||
| 58 | Index: | ||
| 59 | Background: Build | ||
