This is an archive of the discontinued LLVM Phabricator instance.

Speed up clang-tidy when profiling in on.
ClosedPublic

Authored by sbenza on Oct 24 2014, 7:09 AM.

Details

Summary

Speed up clang-tidy when profiling in on.
It makes profiling runs twice as fast by reusing the time samples between the
different actions.
It also joins together the sampling of different matchers of the same check.

Diff Detail

Repository
rL LLVM

Event Timeline

sbenza updated this revision to Diff 15411.Oct 24 2014, 7:09 AM
sbenza retitled this revision from to Speed up clang-tidy when profiling in on..
sbenza updated this object.
sbenza edited the test plan for this revision. (Show Details)
sbenza added a reviewer: alexfh.
sbenza added a subscriber: Unknown Object (MLST).
alexfh accepted this revision.Oct 24 2014, 5:55 PM
alexfh edited edge metadata.

Looks good!

lib/ASTMatchers/ASTMatchFinder.cpp
494 ↗(On Diff #15411)

Please add a short comment on how to use this class.

This revision is now accepted and ready to land.Oct 24 2014, 5:55 PM
sbenza updated this revision to Diff 15491.Oct 27 2014, 7:51 AM
sbenza edited edge metadata.

Added comment

sbenza closed this revision.Oct 27 2014, 8:33 AM
sbenza updated this revision to Diff 15494.

Closed by commit rL220682 (authored by @sbenza).