diff options
Diffstat (limited to '.clangd')
| -rw-r--r-- | .clangd | 70 |
1 files changed, 35 insertions, 35 deletions
| @@ -1,39 +1,39 @@ | |||
| 1 | CompileFlags: | 1 | CompileFlags: |
| 2 | Add: | 2 | # Add: |
| 3 | - -std=c99 | 3 | # - -std=c99 |
| 4 | - -xc | 4 | # - -xc |
| 5 | 5 | # | |
| 6 | - -Iinclude | 6 | # - -Iinclude |
| 7 | - -Wall | 7 | # - -Wall |
| 8 | - -Wextra | 8 | # - -Wextra |
| 9 | - -Wpedantic | 9 | # - -Wpedantic |
| 10 | - -Wshadow | 10 | # - -Wshadow |
| 11 | - -Wconversion | 11 | # - -Wconversion |
| 12 | - -Wsign-conversion | 12 | # - -Wsign-conversion |
| 13 | - -Wmissing-declarations | 13 | # - -Wmissing-declarations |
| 14 | - -Wundef | 14 | # - -Wundef |
| 15 | - -Wpointer-arith | 15 | # - -Wpointer-arith |
| 16 | - -Wcast-align | 16 | # - -Wcast-align |
| 17 | - -Wcast-qual | 17 | # - -Wcast-qual |
| 18 | - -Wwrite-strings | 18 | # - -Wwrite-strings |
| 19 | - -Wswitch-enum | 19 | # - -Wswitch-enum |
| 20 | - -Wformat=2 | 20 | # - -Wformat=2 |
| 21 | - -Wstrict-aliasing=2 | 21 | # - -Wstrict-aliasing=2 |
| 22 | - -Werror=implicit-function-declaration | 22 | # - -Werror=implicit-function-declaration |
| 23 | - -Werror=implicit-int | 23 | # - -Werror=implicit-int |
| 24 | - -Werror=incompatible-pointer-types | 24 | # - -Werror=incompatible-pointer-types |
| 25 | - -Werror=return-type | 25 | # - -Werror=return-type |
| 26 | - -Wformat-security | 26 | # - -Wformat-security |
| 27 | - -Wnull-dereference | 27 | # - -Wnull-dereference |
| 28 | - -Wmisleading-indentation | 28 | # - -Wmisleading-indentation |
| 29 | 29 | # | |
| 30 | - -Wuninitialized | 30 | # - -Wuninitialized |
| 31 | - -Werror | 31 | # - -Werror |
| 32 | - -Wdouble-promotion | 32 | # - -Wdouble-promotion |
| 33 | - -Wstrict-overflow=2 | 33 | # - -Wstrict-overflow=2 |
| 34 | 34 | # | |
| 35 | - -D_POSIX_C_SOURCE=200809L | 35 | # - -D_POSIX_C_SOURCE=200809L |
| 36 | - "-I/include" | 36 | # - "-I/include" |
| 37 | 37 | ||
| 38 | Remove: | 38 | Remove: |
| 39 | - -std=* | 39 | - -std=* |
