summaryrefslogtreecommitdiff
path: root/.clangd
blob: 1fa563528ddb458a023aa042020ac799496f694f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
CompileFlags:
  Add:
    - -std=c99
    - -xc

    - -Iinclude
    - -Wall
    - -Wextra
    - -Wpedantic
    - -Wshadow
    - -Wconversion
    - -Wsign-conversion
    - -Wmissing-declarations
    - -Wundef
    - -Wpointer-arith
    - -Wcast-align
    - -Wcast-qual
    - -Wwrite-strings
    - -Wswitch-enum
    - -Wformat=2
    - -Wstrict-aliasing=2
    - -Werror=implicit-function-declaration
    - -Werror=implicit-int
    - -Werror=incompatible-pointer-types
    - -Werror=return-type
    - -Wformat-security 
    - -Wnull-dereference
    - -Wmisleading-indentation

    -	-Wuninitialized
    -	-Werror
    -	-Wdouble-promotion
    -	-Wstrict-overflow=2

    - -D_POSIX_C_SOURCE=200809L
    - "-I/include"

  Remove:
    - -std=*
    - -O*
    - -march=*
    - -mtune=*


Hover:
  ShowAKA: true

InlayHints:
  Enabled: true
  ParameterNames: true
  DeducedTypes: true

Completion:
  AllScopes: true

Index:
  Background: Build