This revision was automatically updated to reflect the committed changes.
Closed by commit rL287929: Do not do raw name replacement when FromDecl is a
class forward-declaration. (authored by ioeric).
Changed prior to commit:
https://reviews.llvm.org/D27132?vs=79307=79308#toc
Repository:
rL
ioeric updated this revision to Diff 79307.
ioeric marked an inline comment as done.
ioeric added a comment.
- Address comments.
https://reviews.llvm.org/D27132
Files:
lib/Tooling/Core/Lookup.cpp
unittests/Tooling/LookupTest.cpp
Index: unittests/Tooling/LookupTest.cpp
bkramer accepted this revision.
bkramer added inline comments.
This revision is now accepted and ready to land.
Comment at: lib/Tooling/Core/Lookup.cpp:131
+ // still considered as referring to the original definition given the nature
+ // of forward-declarations, so we can't
ioeric created this revision.
ioeric added a reviewer: bkramer.
ioeric added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
If the `FromDecl` is a class forward declaration, the reference is
still considered as referring to the original definition given the nature
of