From df88f6fe98793d8305797f23e38d613bc6960028 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 8 Mar 2012 15:51:03 +0000 Subject: Replace MarkVarRequired with a more generic HandleCXXStaticMemberVarInstantiation. Suggested by Argyrios. llvm-svn: 152320 --- clang/lib/CodeGen/CodeGenModule.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') 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 -- cgit v1.2.3