This is an archive of the discontinued LLVM Phabricator instance.

Fix a wrong check in misc-unused-using-decls
ClosedPublic

Authored by hokein on May 26 2016, 12:44 AM.

Details

Summary

We should check whether a UsingDecl is defined in macros or in class
definition, not TargetDecls of the UsingDecl.

Diff Detail

Event Timeline

hokein updated this revision to Diff 58576.May 26 2016, 12:44 AM
hokein retitled this revision from to Fix a wrong check in misc-unused-using-decls.
hokein updated this object.
hokein added a reviewer: alexfh.
hokein added a subscriber: cfe-commits.
alexfh accepted this revision.May 27 2016, 6:57 AM
alexfh edited edge metadata.

LG

This revision is now accepted and ready to land.May 27 2016, 6:57 AM
This revision was automatically updated to reflect the committed changes.