This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Ignore function context in misc-unused-using-decls.
ClosedPublic

Authored by hokein on Jun 2 2016, 7:19 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein updated this revision to Diff 59376.Jun 2 2016, 7:19 AM
hokein retitled this revision from to [clang-tidy] Ignore function context in misc-unused-using-decls..
hokein updated this object.
hokein added a reviewer: alexfh.
hokein added a subscriber: cfe-commits.
alexfh accepted this revision.Jun 2 2016, 6:34 PM
alexfh edited edge metadata.

LG

clang-tidy/misc/UnusedUsingDeclsCheck.cpp
109 ↗(On Diff #59376)

I suspect that linear search here may be the reason for the poor performance of the check (on a large file it's in top 3 by time spent). This should be addressed separately. Maybe leave a FIXME?

This revision is now accepted and ready to land.Jun 2 2016, 6:34 PM
hokein updated this revision to Diff 59492.Jun 3 2016, 12:42 AM
hokein edited edge metadata.

Address code comments.

This revision was automatically updated to reflect the committed changes.