From 794a4b74e8c9cb9b975d7e033a8e37972cb6eeea Mon Sep 17 00:00:00 2001 From: Timerix Date: Sat, 21 Feb 2026 11:04:00 +0500 Subject: [PATCH] added clangd config --- .clangd | 4 ++++ compile_flags.txt | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .clangd create mode 100644 compile_flags.txt diff --git a/.clangd b/.clangd new file mode 100644 index 0000000..4d84c85 --- /dev/null +++ b/.clangd @@ -0,0 +1,4 @@ +Diagnostics: + UnusedIncludes: None +Completion: + HeaderInsertion: Never diff --git a/compile_flags.txt b/compile_flags.txt new file mode 100644 index 0000000..db9e884 --- /dev/null +++ b/compile_flags.txt @@ -0,0 +1,22 @@ +-std=c99 +-Wno-unused-includes +-Wall +-Wextra +-Wduplicated-branches +-Wduplicated-cond +-Wformat=2 +-Wmissing-include-dirs +-Wshadow +-Werror=return-type +-Werror=pointer-arith +-Werror=init-self +-Werror=incompatible-pointer-types +-O0 +-g3 +-Isrc +-Iinclude +-Idependencies/BearSSL/inc +-Idependencies/tlibc/include +-Idependencies/tlibtoml/include +-Idependencies/tsqlite/include +-Idependencies/tim/include \ No newline at end of file