[all-commits] [llvm/llvm-project] c25da4: Fix arc lint's clang-format rule: only format the ...

Richard Smith via All-commits all-commits at lists.llvm.org
Sun Oct 11 14:25:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c25da4b04ae1eafa27623717a032de3d62ffc803
      https://github.com/llvm/llvm-project/commit/c25da4b04ae1eafa27623717a032de3d62ffc803
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M utils/arcanist/clang-format.sh

  Log Message:
  -----------
  Fix arc lint's clang-format rule: only format the file we were asked to format.

This avoids diffs being applied in the work tree to files that are
supposed to be excluded (clang tests), allows arc to properly provide
interactive feedback for the formatting fixes, and reduces the number of
files that we format, in a change affecting N files, from N^2 to N.




More information about the All-commits mailing list