commit | bac2f1a31eb5d2613ae11b220b28764484d7c06c | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Thu Feb 06 06:54:34 2025 +0000 |
committer | Lei YU <yulei.sh@bytedance.com> | Tue Mar 04 03:50:52 2025 +0000 |
tree | ee61adac3f49b55b10e9cc5898265a8f4c9a39c6 | |
parent | 3145b66f2d69028fc4ee9dda96295c72bf43c374 [diff] [blame] |
Enable clang-tidy and apply fixes Enable clang-tidy, fix the compile issue and fix the clang-tidy issues. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I6250c6519a725c07b0cd10abe464fda97a2aebd7
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..4b6eca0 --- /dev/null +++ b/.clang-tidy
@@ -0,0 +1,7 @@ +Checks: ' + -*, + bugprone-unchecked-optional-access, + readability-identifier-naming +' +WarningsAsErrors: '*' +HeaderFilterRegex: '(?!^subprojects).*'