> "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.

> -Argyrios
>

Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to