-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clangd
28 lines (28 loc) · 1.09 KB
/
.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
25
26
27
28
Diagnostics:
ClangTidy:
Add:
- "bugprone-*"
- "cppcoreguidelines-*"
- "clang-analyzer-*"
- "modernize-*"
- "readability-*"
- "performance-*"
- "misc-*"
CheckOptions:
misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: true
cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor: true
readability-identifier-length.IgnoredVariableNames: '^_$'
modernize-type-traits.IgnoreMacros: true
readability-implicit-bool-conversion.AllowIntegerConditions: true
readability-function-cognitive-complexity.IgnoreMacros: true
cppcoreguidelines-narrowing-conversions.IgnoreConversionFromTypes: "size_t;ptrdiff_t;size_type;difference_type"
Remove:
- "modernize-use-nodiscard"
- "misc-no-recursion"
- "cppcoreguidelines-pro-bounds-pointer-arithmetic"
- "cppcoreguidelines-avoid-non-const-global-variables"
- "bugprone-easily-swappable-parameters"
- "misc-use-anonymous-namespace"
UnusedIncludes: Strict
CompileFlags:
CompilationDatabase: .vscode/