Issue |
148624
|
Summary |
[clang-tidy] Run `run-clang-tidy` and `clang-tidy-diff` scripts in parallel implicitly
|
Labels |
enhancement,
clang-tools-extra,
clang-tidy
|
Assignees |
|
Reporter |
vbvictor
|
When the user does not specify `-j` flag in `run-clang-tidy` or `clang-tidy-diff` it would be better to run in parallel.
>From my experience, other linters try to run in parallel by default, for example `cargo clippy`, `golangci-lint`, `revive`.
I think we should add implicit call to `multiprocessing.cpu_count()` in `run-clang-tidy` and `clang-tidy-diff` and use that number if user didn't specify `-j` explicitly.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs