clangd: Enable some more warnings, fix MSL_C++ headers language

This commit is contained in:
LagoLunatic
2025-04-29 15:53:12 -04:00
parent 2690304a74
commit 533955ebf6
+13 -3
View File
@@ -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"]