add clang tidy

This commit is contained in:
pantor committed 2024-10-05 16:47:03 +02:00
1 parent fddbfce5a3
commit 17ba53cb9e
2 files changed
+20

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
Checks: >
-*,
bugprone-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-google-readability-namespace-comments,
-google-runtime-int,
-google-runtime-references,
-misc-non-private-member-variables-in-classes,
-readability-named-parameter,
-readability-braces-around-statements,
-readability-magic-numbers
# Turn all the warnings from the checks above into errors.
WarningsAsErrors: ""
+1
View File
@@ -0,0 +1 @@
clang-tidy test/test.cpp -- -Iinclude -Ithird_party/include