This is an archive of the discontinued LLVM Phabricator instance.

Add clang-tidy-diff.py script to run clang-tidy and display warnings on changed lines only.
ClosedPublic

Authored by alexfh on Jun 25 2014, 6:22 AM.

Diff Detail

Event Timeline

alexfh updated this revision to Diff 10831.Jun 25 2014, 6:22 AM
alexfh retitled this revision from to Add clang-tidy-diff.py script to run clang-tidy and display warnings on changed lines only..
alexfh updated this object.
alexfh edited the test plan for this revision. (Show Details)
alexfh added a reviewer: djasper.
alexfh added a subscriber: Unknown Object (MLST).
djasper accepted this revision.Jun 25 2014, 7:01 AM
djasper edited edge metadata.

Looks good.

clang-tidy/tool/clang-tidy-diff.py
34

Is StringIO used?

52

Are js, proto and protodevel useful here?

103

s/TODO/FIXME/

And maybe provide a bit of context as this doesn't really mean anything.

This revision is now accepted and ready to land.Jun 25 2014, 7:01 AM
alexfh added inline comments.Jun 25 2014, 7:17 AM
clang-tidy/tool/clang-tidy-diff.py
34

Removed unused imports.

52

Not really. Removed.

103

Removed the comment, what I meant there, is already handled.

alexfh closed this revision.Jun 25 2014, 7:17 AM