If the FromDecl is a class forward declaration, the reference is
still considered as referring to the original definition given the nature
of forward-declarations, so we can't do a raw name replacement in this case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Tooling/Core/Lookup.cpp | ||
---|---|---|
131 ↗ | (On Diff #79306) | the "given the nature" part doesn't add any useful information. Either drop it or explain in more detail what's the problem with forward decls. |