Originally reported on Google Code with ID 62
When using iwyu on code with a overloaded virtual function that has a return type different
from the function in the base class, iwyu is satisfied with a forward declaration even
though the compiler seems to need a full definition. I have attached a test for this.
I can work on this; I will, however, need to familiarize myself with the clang AST
first. My current guess is that IwyuBaseAstVisitor::VisitFunctionDecl should be the
right place for the change or is there a more appropriate place?
Reported by lars.schewe.private on 2011-10-27 11:47:01
- Attachment: cvr_test.diff
该提问来源于开源项目:include-what-you-use/include-what-you-use