This is an archive of the discontinued LLVM Phabricator instance.

[change-namespace] don't fix using shadow decls in classes.
ClosedPublic

Authored by ioeric on Dec 7 2016, 7:24 AM.

Details

Summary

Using shadow declarations in classes always refers to base class, which does not
need to be fixed/qualified since it can be inferred from inheritance.

Diff Detail

Repository
rL LLVM

Event Timeline

ioeric updated this revision to Diff 80595.Dec 7 2016, 7:24 AM
ioeric retitled this revision from to [change-namespace] don't fix using shadow decls in classes..
ioeric updated this object.
ioeric added a reviewer: bkramer.
ioeric added a subscriber: cfe-commits.
bkramer accepted this revision.Dec 7 2016, 9:10 AM
bkramer edited edge metadata.
bkramer added inline comments.
change-namespace/ChangeNamespace.cpp
331 ↗(On Diff #80595)

Maybe add to this comment that you're matching non-alias using declarations.

This revision is now accepted and ready to land.Dec 7 2016, 9:10 AM
ioeric updated this revision to Diff 80613.Dec 7 2016, 9:12 AM
ioeric edited edge metadata.
  • address review comment.
This revision was automatically updated to reflect the committed changes.