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
|
#ClangTidy config is merged w/ .clang-tidy where this file takes precedence
#Diagnostics:
# ClangTidy:
# Add: [clang-diagnostic-*, clang-analyzer-*, modernize-*, bugprone-*]
#
# Remove: [modernize-use-auto, modernize-use-nodiscard, modernize-use-using, modernize-use-trailing-return-type,
# modernize-avoid-c-arrays, modernize-use-default-member-init, modernize-return-braced-init-list,
# modernize-avoid-bind, modernize-use-transparent-functors,
# bugprone-reserved-identifier, bugprone-easily-swappable-parameters, bugprone-assignment-in-if-condition,
# bugprone-misplaced-widening-cast, bugprone-branch-clone]
#
# CheckOptions:
# modernize-use-default-member-init.UseAssignment: true
# Tell clangd to use the compile_commands.json file in the build/default folder
CompileFlags:
CompilationDatabase: @CMAKE_CURRENT_BINARY_DIR@
Add: [@cipherpack_clangd_source_args@]
Diagnostics:
UnusedIncludes: Strict
InlayHints:
Enabled: No
BlockEnd: Yes
Designators: No
ParameterNames: Yes
DeducedTypes: Yes
TypeNameLimit: 24
Hover:
ShowAKA: Yes
|