From 3913d1778318cd0c6bfb871148d38abb33ec7fd3 Mon Sep 17 00:00:00 2001 From: nasr Date: Wed, 28 Jan 2026 13:13:40 +0100 Subject: checkpoint --- library/clangd | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 library/clangd (limited to 'library/clangd') diff --git a/library/clangd b/library/clangd new file mode 100644 index 0000000..624678a --- /dev/null +++ b/library/clangd @@ -0,0 +1,59 @@ +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 + + - -Wunused + - -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 -- cgit v1.3