[clang-tools-extra] 3d24efd - [clang-tidy][NFC] Add empty '.clang-tidy' file in tests dir to silent warnings in IDE (#171029)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 7 23:33:39 PST 2025
Author: Baranov Victor
Date: 2025-12-08T10:33:35+03:00
New Revision: 3d24efd85a62e22115a8582aea147f208bf8095f
URL: https://github.com/llvm/llvm-project/commit/3d24efd85a62e22115a8582aea147f208bf8095f
DIFF: https://github.com/llvm/llvm-project/commit/3d24efd85a62e22115a8582aea147f208bf8095f.diff
LOG: [clang-tidy][NFC] Add empty '.clang-tidy' file in tests dir to silent warnings in IDE (#171029)
When working on tests, `clangd` with option `--clang-tidy` will report
warnings from
[root](https://github.com/llvm/llvm-project/blob/main/.clang-tidy)
clang-tidy config.
I believe these warnings serve no purpose in tests, so we better disable
them to silent warnings in IDE.
Added:
clang-tools-extra/test/clang-tidy/.clang-tidy
Modified:
Removed:
################################################################################
diff --git a/clang-tools-extra/test/clang-tidy/.clang-tidy b/clang-tools-extra/test/clang-tidy/.clang-tidy
new file mode 100644
index 0000000000000..612bd0ee8de8a
--- /dev/null
+++ b/clang-tools-extra/test/clang-tidy/.clang-tidy
@@ -0,0 +1 @@
+Checks: '-*'
More information about the cfe-commits
mailing list