Skip to content

Commit 5369f54

Browse files
committed
Add clang-tidy config
This enables clang-analyzer, treats clang-tidy warnings as errors, and adds basic checks that are not causing errors at the moment.
1 parent 7d5ee32 commit 5369f54

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.clang-tidy

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Checks: >
2+
bugprone-*,
3+
cert-*,
4+
-cert-err58-cpp,
5+
clang-analyzer-*,
6+
google-global-names-in-headers,
7+
google-runtime-int,
8+
misc-*,
9+
-misc-non-private-member-variables-in-classes,
10+
performance-*,
11+
-performance-inefficient-string-concatenation,
12+
-performance-unnecessary-value-param,
13+
portability-*,
14+
15+
WarningsAsErrors: '*'
16+
FormatStyle: file

0 commit comments

Comments
 (0)