-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clangd
54 lines (47 loc) · 1.06 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
CompileFlags:
CompilationDatabase: build
# Add:
# - "--background-index"
# - "--clang-tidy"
# - "--header-insertion=never"
# - "--completion-style=detailed"
# - "--cross-file-rename"
# - "--function-arg-placeholders"
# - "--compile-commands-dir=${workspaceFolder}/build"
# - "-j=1"
Diagnostics:
MissingIncludes: Strict
UnusedIncludes: Strict
ClangTidy:
Add:
# Modern C++ checks
- modernize-*
- performance-*
- bugprone-*
- readability-*
- cppcoreguidelines-*
- cert-*
- concurrency-*
- darwin-*
- google-*
- hicpp-*
- llvm-*
- misc-*
- portability-*
Remove:
- modernize-use-trailing-return-type
- readability-named-parameter
- readability-magic-numbers
- google-readability-namespace-comments
- cppcoreguidelines-pro-type-union-access
Index:
StandardLibrary: true
Completion:
AllScopes: true
InlayHints:
Enabled: true
ParameterNames: true
DeducedTypes: true
Designators: true
Hover:
ShowAKA: true