-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.clang-tidy
More file actions
38 lines (35 loc) · 1.21 KB
/
.clang-tidy
File metadata and controls
38 lines (35 loc) · 1.21 KB
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
Checks: |
bugprone-*,
-bugprone-easily-swappable-parameters,
cert-*,
clang-analyzer-*
misc-*
-misc-no-recursion
modernize-*
-modernize-use-trailing-return-type
performance-*
-performance-avoid-endl
portability-*
readability-*
-readability-identifier-length
cppcoreguidelines-*
-cppcoreguidelines-avoid-do-while
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
-cppcoreguidelines-pro-bounds-pointer-arithmetic
# -cppcoreguidelines-pro-type-vararg
# -cppcoreguidelines-owning-memory
# -readability-magic-numbers
WarningsAsErrors: '*'
# CheckOptions:
# - key: modernize-use-nullptr.NullMacros
# value: 'NULL'
# - key: modernize-use-using.CheckAliasTemplates
# value: true
# - key: readability-identifier-naming.VariableCase
# value: lower_case # You can customize to match your naming rules
# - key: readability-identifier-naming.ClassCase
# value: CamelCase
# - key: readability-identifier-naming.FunctionCase
# value: camelBack
HeaderFilterRegex: '^(include/|demos/|examples/|tests/)' # Ignore third party, etc.
FormatStyle: file # Use .clang-format