[all-commits] [llvm/llvm-project] d14e7e: [clang-format] Add -j to clang-format-diff to spee...

Owen via All-commits all-commits at lists.llvm.org
Thu Mar 2 11:59:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d14e7ee3d17cfa60d44256d742c10e9949a6048f
      https://github.com/llvm/llvm-project/commit/d14e7ee3d17cfa60d44256d742c10e9949a6048f
  Author: Sean Maher <spvw at chromium.org>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M clang/tools/clang-format/clang-format-diff.py

  Log Message:
  -----------
  [clang-format] Add -j to clang-format-diff to speed up formatting

This patch changes the implementation of clang-format-diff.py to
start up many clang-format processes in parallel in order to speed
up clang-format-diff.py by several orders of magnitude on large
patches.

Differential Revision: https://reviews.llvm.org/D141230




More information about the All-commits mailing list