summaryrefslogtreecommitdiff
path: root/.clangd
diff options
context:
space:
mode:
Diffstat (limited to '.clangd')
-rw-r--r--.clangd19
1 files changed, 19 insertions, 0 deletions
diff --git a/.clangd b/.clangd
new file mode 100644
index 0000000..ef142b4
--- /dev/null
+++ b/.clangd
@@ -0,0 +1,19 @@
+If:
+ PathMatch:
+ - .*\.c
+ - .*\.h
+
+
+CompileFlags:
+ Add:
+ - -xc
+ - -std=c89
+ - -Isrc
+ - -Wall
+ - -Wextra,
+ - -pedantic
+ - -O2
+ - -ferror-limit=0
+ - -D_DEFAULT_SOURCE
+ - -D_CHECK_LINK
+ Compiler: clang