| commit | 8a27b2b35065faf3171ac82f7e1862157d70d7b0 | [log] [tgz] |
|---|---|---|
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sun Feb 24 00:05:01 2013 +0000 |
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sun Feb 24 00:05:01 2013 +0000 |
| tree | 868a6ed7958242da4d631bbf271b714117b781ed | |
| parent | 80070bd439585ee8d267d2e1c61e4af4ada0be7f [diff] |
In Sema::InstantiateStaticDataMemberDefinition, pass the var decl to the consumer just using ASTConsumer::HandleCXXStaticMemberVarInstantiation(), don't pass it with ASTConsumer::HandleTopLevelDecl. ASTConsumer::HandleTopLevelDecl is intended for user-written top-level decls; a consumer can treat an instantiated static data member however it wants of course. llvm-svn: 175976