aboutsummaryrefslogtreecommitdiff
path: root/.clangd
blob: d6d8b027f6bef36af41a52a55b5b315f1b15829c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# clangd's fallback command runs in the source file's own directory, so the
# relative -I flags below resolve per file:
#   -I.          -> include/, for files inside include/
#   -I../include -> include/, for files inside src/
CompileFlags:
  Add:
    - -std=c99
    - -I.
    - -I../include
    - -D_DEFAULT_SOURCE
    - -DRECORD_PV
    - -DCAND_A=1
    - -DCAND_B=2
    - -DCAND_A_WEIGHTS_5="cand_1_weights_5.c"
    - -DCAND_A_WEIGHTS_6="cand_1_weights_6.c"
    - -DCAND_B_WEIGHTS_5="cand_2_weights_5.c"
    - -DCAND_B_WEIGHTS_6="cand_2_weights_6.c"
    - -Wall
    - -Wextra
    - -Wpedantic