[clang-tools-extra] [clang-tidy][NFC] Add empty .clang-tidy in tests to warnings in ide (PR #171029)

via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 7 03:12:45 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tidy

Author: Baranov Victor (vbvictor)

<details>
<summary>Changes</summary>

When working on tests, `clangd` with option `--clang-tidy` will report warnings from "root" clang-tidy config.
I believe these warnings serve no purpose in tests, so we better disable them.

---
Full diff: https://github.com/llvm/llvm-project/pull/171029.diff


1 Files Affected:

- (added) clang-tools-extra/test/clang-tidy/.clang-tidy (+1) 


``````````diff
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: '-*'

``````````

</details>


https://github.com/llvm/llvm-project/pull/171029


More information about the cfe-commits mailing list