Files
st/.clangd
T
Yanis bc04021bc0 Add support for clangd in the python tools (#120)
* initial clangd support through python

* update install instructions

* invert configure.py behavior

* fix oopsie

* fix few issues from clangd

* fix related build issues
2026-07-21 19:37:21 +02:00

40 lines
911 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"
- "main_returns_nonint"
- "template_spec_needs_header"
Documentation:
CommentFormat: Doxygen
---
If:
PathMatch: .*/*.inc
Diagnostics:
Suppress:
- "undeclared_var_use"
- "undeclared_var_use_suggest"
- "bound_member_function"
- "typecheck_subscript_value"
- "unknown_typename"
---
If:
PathMatch: .*\.pch
CompileFlags:
Add: ["--language=c++", "--std=c++98"]