From 533955ebf67bb23976dc5f29a2726903fe861234 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Tue, 29 Apr 2025 15:53:12 -0400 Subject: [PATCH] clangd: Enable some more warnings, fix MSL_C++ headers language --- .clangd | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.clangd b/.clangd index f30575879..3221e3cea 100644 --- a/.clangd +++ b/.clangd @@ -4,11 +4,21 @@ CompileFlags: "-Wno-c++11-compat-deprecated-writable-strings", "-Wno-undefined-inline", "-Wno-multichar", + "-Wsometimes-uninitialized", + "-Wlogical-op-parentheses", + "-Wbitwise-op-parentheses", + "-Wunused-variable", + # "-Wunused-but-set-variable", + # "-Wunused-parameter", + "-Wunused-but-set-parameter", ] --- If: PathMatch: .*\.inc CompileFlags: - Add: [ - "-Wno-return-type", - ] + Add: ["-Wno-return-type"] +--- +If: + PathMatch: src/PowerPC_EABI_Support/MSL/MSL_C\+\+/.*\.h +CompileFlags: + Add: ["--language=c++", "--std=c++98"]