From b3b6e348b195a8932e0307432c1a7dd4fa825d72 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Wed, 7 Oct 2026 04:25:35 -0400 Subject: [PATCH] Add .clangd config --- .clangd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .clangd diff --git a/.clangd b/.clangd new file mode 100644 index 000000000..ed731ef62 --- /dev/null +++ b/.clangd @@ -0,0 +1,25 @@ +# https://clangd.llvm.org/config + +--- + +# Default conditions, apply everywhere. + +Style: + QuotedHeaders: "openvic-simulation/.*" + AngledHeaders: [".*"] + +--- + +# Header-specific conditions. + +If: + PathMatch: .*\.(h|hh|hpp|hxx|inc) + +# Exclude certain, noisy warnings that lack full context. Replace with lowered severity if/when +# clangd gets diagnostic severity support. (See: https://github.com/clangd/clangd/issues/1937) +CompileFlags: + Add: + - -Wno-unneeded-internal-declaration + - -Wno-unused-const-variable + - -Wno-unused-function + - -Wno-unused-variable