aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-06 02:11:18 +0700
committerGitHub <noreply@github.com>2026-03-06 02:11:18 +0700
commit55231bb8d3e1a4e2752ac3d444c4287eb0ca4e8b (patch)
tree953c537a5c66e328e9f4ab29626cf738112d53c0 /.clang-tidy
parent7d6658fe5b3095f35093701b5ab669ffc291e875 (diff)
Remove AUTO_VAR macro and _toString function (#592)
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy18
1 files changed, 18 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 00000000..3ad11404
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,18 @@
+---
+# Enable all modernize checks, but explicitly exclude trailing return types
+Checks: >
+ -*,
+ modernize-*,
+ google-readability-casting,
+ cppcoreguidelines-pro-type-cstyle-cast,
+ -modernize-use-trailing-return-type
+
+# Pass the C++14 flag to the internal Clang compiler
+ExtraArgs: ['-std=c++14']
+
+CheckOptions:
+ - key: modernize-loop-convert.MinConfidence
+ value: reasonable
+ - key: modernize-use-auto.MinTypeNameLength
+ value: 5
+...