This is an archive of the discontinued LLVM Phabricator instance.

[clang-diff] Make printing of matches optional
ClosedPublic

Authored by johannes on Aug 1 2017, 1:53 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

johannes created this revision.Aug 1 2017, 1:53 PM
johannes updated this revision to Diff 109304.Aug 2 2017, 2:55 AM

defer testing

arphaman edited edge metadata.Aug 2 2017, 4:37 AM

m isn't very descriptive, maybe something like dump-matches is better? Otherwise LGTM.

Actually this needs a test as well.

johannes updated this revision to Diff 109420.Aug 2 2017, 1:37 PM

rename to -dump-matches, add a test

arphaman added inline comments.Aug 3 2017, 1:29 AM
test/Tooling/clang-diff-args.sh
10 ↗(On Diff #109420)

You can use MYCHECK-NOT in this file and run FileCheck --check-prefix=MYCHECK %s

johannes updated this revision to Diff 109503.Aug 3 2017, 2:41 AM

fix tests

arphaman accepted this revision.Aug 3 2017, 3:03 AM

LGTM!

This revision is now accepted and ready to land.Aug 3 2017, 3:03 AM
This revision was automatically updated to reflect the committed changes.