From 87fc5a5e6b9c021dc8e6aaa6c80d218ac4ea1970 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Fri, 22 Aug 2008 16:00:37 +0000 Subject: Add preliminary (and probably broken) codegen support for C++ static initializers. llvm-svn: 55180 --- clang/lib/CodeGen/CodeGenFunction.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 8642c1b861f..cf057d8edbc 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -525,6 +525,10 @@ public: bool NoInit, const char *Separator); + // GenerateStaticBlockVarDecl - return the static declaration of + // a local variable. Performs initialization of the variable if necessary. + llvm::GlobalValue *GenerateStaticCXXBlockVarDecl(const VarDecl &D); + //===--------------------------------------------------------------------===// // Internal Helpers //===--------------------------------------------------------------------===// -- cgit v1.2.3