https://github.com/yh-sb updated 
https://github.com/llvm/llvm-project/pull/185229

>From 093f82166722ac0f1f620d4e03e1d4538b4f020a Mon Sep 17 00:00:00 2001
From: yh-sb <[email protected]>
Date: Mon, 9 Mar 2026 12:36:16 +0200
Subject: [PATCH] [clang-tidy] Don't print `Enabled checks:` by default

`Enabled checks:` prints hundreds of lines polluting output
with moderate amount of enabled checks.
It's not human readable at all.
---
 clang-tools-extra/clang-tidy/tool/run-clang-tidy.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py 
b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
index f4c3d00734389..0f6bdb54ff75d 100755
--- a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -664,9 +664,7 @@ async def main() -> None:
         invocation.append("-list-checks")
         invocation.append("-")
         # Even with -quiet we still want to check if we can call clang-tidy.
-        subprocess.check_call(
-            invocation, stdout=subprocess.DEVNULL if args.quiet else None
-        )
+        subprocess.check_call(invocation, stdout=subprocess.DEVNULL)
     except Exception:
         print("Unable to run clang-tidy.", file=sys.stderr)
         sys.exit(1)

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to