[all-commits] [llvm/llvm-project] 46e1d3: [clang-tidy] Add parallel execution by default in ...

Baranov Victor via All-commits all-commits at lists.llvm.org
Thu Jul 24 13:03:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46e1d3d2a4394b805428111043d73aab309f44f0
      https://github.com/llvm/llvm-project/commit/46e1d3d2a4394b805428111043d73aab309f44f0
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
    M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-diff.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/run-clang-tidy.cpp

  Log Message:
  -----------
  [clang-tidy] Add parallel execution by default in 'run-clang-tidy' and 'clang-tidy-diff' (#149739)

Change the default value of `-j` from `1` to `0` in `clang-tidy-diff.py`
script to autodetect number of CPU cores to run on.
Script `run-clang-tidy.py` already had this behavior by default.

Both scripts now also print the number of threads being used to
provide better visibility into their execution behavior.

Fixes https://github.com/llvm/llvm-project/issues/148624.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list