Files
tp/.clangd
T
LagoLunatic 877889c510 Clean up code, remove fakematches, add UNUSED, enable warnings (#2992)
* Remove NDEBUG_DEFINED fakematch, clean up getName temps

* Fix ifdef

* Fix bad JSystem pch ifdef breaking decomp.me

* Remove Acch Chk fakematches

* Private Acch fields

* Fix some clangd errors in headers

* Add UNUSED macro for matching debug parameters

* Enable clangd unused-parameter warning

* Remove extern from initializers

Probably added by dol2asm?

* Fix process profile definitions

* Remove leftover dol2asm address comments

* Remove some unnecessary double casts

* Enable some more clangd warnings

* Fix missing usages of fopAcM_ct

* Fix wrong enum usage

* Fix more fakematches
2025-12-23 15:53:10 -08:00

41 lines
929 B
YAML

CompileFlags:
Add: [
"-Wno-c++11-compat-deprecated-writable-strings",
"-Wno-multichar",
"-fdeclspec",
"-Wno-c++11-extensions",
"-Wuninitialized",
"-Wsometimes-uninitialized",
"-Wlogical-op-parentheses",
"-Wbitwise-op-parentheses",
# "-Wunused-variable",
# "-Wunused-but-set-variable",
"-Wunused-parameter",
"-Wunused-but-set-parameter",
"-Wself-assign",
]
Diagnostics:
Suppress:
- "warn_char_constant_too_large"
- "illegal_union_or_anon_struct_member"
---
If:
PathMatch: .*/*.inc
Diagnostics:
Suppress:
- "undeclared_var_use"
- "undeclared_var_use_suggest"
- "bound_member_function"
- "typecheck_subscript_value"
- "unknown_typename"
---
If:
PathMatch: src/PowerPC_EABI_Support/MSL/MSL_C\+\+/.*\.h
CompileFlags:
Add: ["--language=c++", "--std=c++98"]
---
If:
PathMatch: .*\.pch
CompileFlags:
Add: ["--language=c++", "--std=c++98"]