aboutsummaryrefslogtreecommitdiff
path: root/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
commit025039377d7247620750205dbd61ca1ba336f7e0 (patch)
tree7a491638b2b4f3efd274424639b791a1ce3fedb3 /lib/CodeGen/CodeGenModule.h
parent4fae2d9357a35acfb2c234c2b4ea69f63df71042 (diff)
Replace MarkVarRequired with a more generic
HandleCXXStaticMemberVarInstantiation. Suggested by Argyrios. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 93eee44431..d6983ce782 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/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