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

`Enabled checks:` by default prints hundreds of lines polluting output with 
moderate amount of enabled checks.
Disable it by default since it's not human readable at all.

>From 09d58cf3d9926bc79cdd1316f78f2416646108bc Mon Sep 17 00:00:00 2001
From: yh-sb <[email protected]>
Date: Sat, 7 Mar 2026 23:07:56 +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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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..7ddc07bbdf07f 100755
--- a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -665,7 +665,7 @@ async def main() -> None:
         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
+            invocation, stdout=subprocess.DEVNULL
         )
     except Exception:
         print("Unable to run clang-tidy.", file=sys.stderr)

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

Reply via email to