[clang-tools-extra] [clang-tidy] Improve "-quiet" option in tidy-scripts by suppressing progress information (PR #154416)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 20 08:08:31 PDT 2025
================
@@ -681,13 +681,11 @@ async def main() -> None:
file_name_re = re.compile("|".join(args.files))
files = {f for f in files if file_name_re.search(f)}
- print(
- f"Running clang-tidy in {max_task} threads for",
- len(files),
- "files out of",
- number_files_in_database,
- "in compilation database ...",
- )
+ if not args.quiet:
+ print(
+ f"Running clang-tidy in {max_task} threads for {len(files)} files"
+ "out of {number_files_in_database} in compilation database ..."
----------------
EugeneZelenko wrote:
```suggestion
f"Running clang-tidy in {max_task} threads for {len(files)} files "
f"out of {number_files_in_database} in compilation database ..."
```
https://github.com/llvm/llvm-project/pull/154416
More information about the cfe-commits
mailing list