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