1
0
Fork 0
llvm-premerge-checks/scripts/phabtalk
Mikhail Goncharov 276978ff1f Ignore selected paths for clang-format and clang-tidy
Now clang-format report will skip files matching `clang-format.ignore`.
For now it's empty.

clang-tidy will not receive diffs for `clang-tidy.ignore` (it still can
produce warnings for these files).
In addition build bot will not will not post comments for files
that are matched by `clang-tidy-comments.ignore`. Now project/file should
be whitelisted to receive inline comments from clang-tidy.

Added all /test directories to `clang-tidy.ignore`.

Other alternatives considered:

- using 'compile_commands.json': does not contain header files.
- specifying -regex option to 'clang-tidy-diff': probably not the best
  experience of providing multiple rules and maintaining a single regex.
2020-01-22 19:05:36 +01:00
..
.gitignore posting text comments and test results to Phabricator works #14 2019-10-15 18:12:19 +02:00
apply_patch.py Ignore selected paths for clang-format and clang-tidy 2020-01-22 19:05:36 +01:00
apply_patch2.py using patch instead of "git apply" 2020-01-22 13:21:02 +01:00
phabtalk.py Ignore selected paths for clang-format and clang-tidy 2020-01-22 19:05:36 +01:00
README.md Attach diffs produced by git-clang-format as lint messages. 2019-12-11 08:55:38 +01:00
requirements.txt Ignore selected paths for clang-format and clang-tidy 2020-01-22 19:05:36 +01:00

This folder contains Python scripts that talk to Phabricator.

They require a few libraries listed in requirements.txt. To install the requirements locally run pip3 install -r requirements.txt.