-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-tidy
More file actions
executable file
·58 lines (53 loc) · 1.27 KB
/
Copy path.clang-tidy
File metadata and controls
executable file
·58 lines (53 loc) · 1.27 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FormatStyle: file
SystemHeaders: false
HeaderFileExtensions:
- ''
- h
- hh
- hpp
- hxx
ImplementationFileExtensions:
- c
- cc
- cpp
- cxx
HeaderFilterRegex: '.*/include/.*|.*/src/.*|.*/tests/(?!compile_fail).*'
ExcludeHeaderFilterRegex: ''
Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-forward-declaration-namespace,
concurrency-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-pro-type-vararg,
google-*,
-google-build-using-namespace,
llvm-*,
-llvm-header-guard,
-llvm-include-order,
-llvm-prefer-static-over-anonymous-namespace,
-llvmlibc-*,
misc-*,
-misc-include-cleaner,
modernize-*,
performance-*,
-performance-avoid-endl,
-performance-no-int-to-ptr,
portability-*,
-portability-avoid-pragma-once,
readability-*,
-readability-duplicate-include,
-readability-else-after-return,
-readability-identifier-length,
-readability-magic-numbers,
clang-diagnostic-*,
clang-analyzer-*,
WarningsAsErrors: ''
CheckOptions:
# Performance Checks
performance-for-range-copy.WarnOnAllAutoCopies: 'true'
performance-inefficient-string-concatenation.StrictMode: 'true'