summaryrefslogtreecommitdiff
path: root/.clangd
diff options
context:
space:
mode:
Diffstat (limited to '.clangd')
-rw-r--r--.clangd25
1 files changed, 25 insertions, 0 deletions
diff --git a/.clangd b/.clangd
new file mode 100644
index 0000000..cff6010
--- /dev/null
+++ b/.clangd
@@ -0,0 +1,25 @@
1CompileFlags:
2 CompilationDatabase: .
3 Add:
4 - -g
5 - -O0
6 - -I.
7 - -Wall
8 - -Wextra
9 - -Wno-unused-variable
10 - -Wno-unused-function
11 - -Wno-undefined-internal
12 - -Wno-implicit-function-declaration
13 - -lX11
14 - -lm
15
16 Remove:
17 - -O*
18 - -Ofast
19Diagnostics:
20 Suppress:
21 - pp_file_not_found
22 - unused-command-line-argument
23 - unknown-warning-option
24Index:
25 Background: Build