summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-03-08 15:51:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-03-08 15:51:03 +0000
commitdf88f6fe98793d8305797f23e38d613bc6960028 (patch)
treed02df95d501d6603e58b2f7e9408525c4b12b3bf /clang/lib/CodeGen/CodeGenModule.h
parent3cbe5cfff30688f0da694462baf7263b5b9625e8 (diff)
downloadbcm5719-llvm-df88f6fe98793d8305797f23e38d613bc6960028.tar.gz
bcm5719-llvm-df88f6fe98793d8305797f23e38d613bc6960028.zip
Replace MarkVarRequired with a more generic
HandleCXXStaticMemberVarInstantiation. Suggested by Argyrios. llvm-svn: 152320
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 93eee444310..d6983ce7822 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -658,10 +658,9 @@ public:
/// EmitTopLevelDecl - Emit code for a single top level declaration.
void EmitTopLevelDecl(Decl *D);
- /// MarkVarRequired - Tell the consumer that this variable must be output.
- /// This is needed when the definition is initially one that can be deferred,
- /// but we then see an explicit template instantiation definition.
- void MarkVarRequired(VarDecl *VD);
+ /// HandleCXXStaticMemberVarInstantiation - Tell the consumer that this
+ // variable has been instantiated.
+ void HandleCXXStaticMemberVarInstantiation(VarDecl *VD);
/// AddUsedGlobal - Add a global which should be forced to be
/// present in the object file; these are emitted to the llvm.used
OpenPOWER on IntegriCloud