mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-25 01:12:09 -04:00
27 lines
622 B
YAML
27 lines
622 B
YAML
# https://clangd.llvm.org/config
|
|
CompileFlags:
|
|
Add: [
|
|
"-fdeclspec",
|
|
"-Wno-c++11-compat-deprecated-writable-strings",
|
|
"-Wno-undefined-inline",
|
|
"-Wno-multichar",
|
|
"-Wno-c++11-extensions",
|
|
"-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"]
|
|
---
|
|
If:
|
|
PathMatch: src/PowerPC_EABI_Support/MSL/MSL_C\+\+/.*\.h
|
|
CompileFlags:
|
|
Add: ["--language=c++", "--std=c++98"]
|