From ee95f08b90160684ea12e2d1529ab7a5f15f16a2 Mon Sep 17 00:00:00 2001 From: Daniel Xu Date: Tue, 30 Jan 2024 09:38:31 -0700 Subject: [PATCH] clang-tidy: Add initial config We get a lot (thousands) of warnings if we enable all checks. Not all checks are relevant. We should add more as we notice things. --- .clang-tidy | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .clang-tidy diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 000000000000..68c41ddb9ef2 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,5 @@ +Checks: | + -* + performance-unnecessary-copy-initialization + modernize-loop-convert + google-readability-casting