mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-07 05:14:58 -04:00
clangd: Enable some more warnings, fix MSL_C++ headers language
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user