[all-commits] [llvm/llvm-project] ad08ec: Use in-tree clang-format-diff.py as Arcanist linter

Scott Linder via All-commits all-commits at lists.llvm.org
Mon Apr 6 09:03:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ad08ecbd16854ec85809280f3db491aee0317423
      https://github.com/llvm/llvm-project/commit/ad08ecbd16854ec85809280f3db491aee0317423
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

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

  Log Message:
  -----------
  Use in-tree clang-format-diff.py as Arcanist linter

Summary:
The only guarantee there seems to be in the clang-format packaging is
that an executable called `clang-format` is in the PATH. Use the
in-tree `clang-format-diff.py` to avoid assuming anything else.

Also remove dead code for SVN repo and switch to `git diff-index` which
is the git plumbing equivalent of `git diff` in this case.

Reviewers: starsid, mehdi_amini, vitalybuka, fhahn, kadircet

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list