Files
glisp/.clangd

24 lines
356 B
YAML

CompileFlags:
Add:
[
-std=c11,
-Wall,
-Wpedantic,
-xc,
-D_POSIX_C_SOURCE=199309L,
"-fsanitize=address,undefined",
]
Compiler: gcc
---
If:
PathMatch: .*\.h
CompileFlags:
Remove: -xc
Add: [-std=c11, -Wall, -Wpedantic, -xc-header]
Compiler: gcc
---
If:
PathMatch: bin/.*\.c
CompileFlags:
Add: -Isrc