aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/.clang-tidy5
-rw-r--r--include/pugl/detail/.clang-tidy12
2 files changed, 17 insertions, 0 deletions
diff --git a/include/pugl/.clang-tidy b/include/pugl/.clang-tidy
new file mode 100644
index 0000000..6453ca0
--- /dev/null
+++ b/include/pugl/.clang-tidy
@@ -0,0 +1,5 @@
+Checks: >
+ *,
+ -*-uppercase-literal-suffix,
+FormatStyle: file
+HeaderFilterRegex: 'pugl/.*'
diff --git a/include/pugl/detail/.clang-tidy b/include/pugl/detail/.clang-tidy
new file mode 100644
index 0000000..7bc36f7
--- /dev/null
+++ b/include/pugl/detail/.clang-tidy
@@ -0,0 +1,12 @@
+Checks: >
+ *,
+ -*-uppercase-literal-suffix,
+ -*magic-numbers,
+ -bugprone-suspicious-string-compare,
+ -cert-flp30-c,
+ -clang-analyzer-security.FloatLoopCounter,
+ -hicpp-multiway-paths-covered,
+ -hicpp-signed-bitwise,
+ -readability-else-after-return,
+FormatStyle: file
+HeaderFilterRegex: 'pugl/.*'