-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clangd
25 lines (23 loc) · 835 Bytes
/
.clangd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CompileFlags:
# Treat code as C++, use C++20 standard, enable more warnings.
Add: [-xc++, -std=c++20, -Wno-missing-prototypes, -I=vendor/**]
# Remove extra warnings specified in compile commands.
# Single value is also acceptable, same as "Remove: [-mabi]"
Remove: -mabi
Diagnostics:
# Tweak Clang-Tidy checks.
ClangTidy:
Add: [performance*, readability*]
Remove:
[
modernize-use-trailing-return-type,
readability-braces-around-statements,
readability-magic-numbers,
readability-uppercase-literal-suffix,
readability-simplify-boolean-expr,
readability-identifier-length,
readability-redundant-access-specifiers,
performance-unnecessary-value-param,
]
# CheckOptions:
# readability-identifier-naming.VariableCase: camelBack