commit | afda905e60151f0bc34c187d51a798b4265f69af | [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 | b38f56a0b1137291a0069351141ad5afac7a4e37 | |
parent | 237d4c1c785be13656bff6c09e5b7ccd066ff5ba [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175976 91177308-0d34-0410-b5e6-96231b3b80d8