[cfe-commits] r152024 - in /cfe/trunk: include/clang/AST/ASTConsumer.h include/clang/Frontend/MultiplexConsumer.h lib/CodeGen/CodeGenAction.cpp lib/CodeGen/CodeGenModule.cpp lib/CodeGen/CodeGenModule.h lib/CodeGen/ModuleBuilder.cpp lib/Frontend/M
rafael.espindola at gmail.com
Thu Mar 8 07:16:54 PST 2012
> "void MarkVarRequired(VarDecl *VD);"
> seems like a too codegen-specific callback to put in ASTConsumer; how about notifying the ASTConsumer that a static member variable was instantiated ?
> Something like:
> "virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *VD)"
> then have codegen do the right thing ?
I will give that a try.
> Also could you add a test to make sure the related test case works fine through a PCH ?
I have split the test in r152317. Let me know if that is what you had in mind.
More information about the cfe-commits