diff options
author | Anders Carlsson <andersca@mac.com> | 2008-08-22 16:00:37 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-08-22 16:00:37 +0000 |
commit | e1b29efab32d02e114046d33cca242a88585bf8a (patch) | |
tree | 0ab7ea8db462d66fc55021db01cea62bd2bb5cbf /lib/CodeGen/CodeGenFunction.h | |
parent | 4bd8217d94d42e0f1439defe2001292988dc5288 (diff) |
Add preliminary (and probably broken) codegen support for C++ static initializers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 8642c1b861..cf057d8edb 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/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 //===--------------------------------------------------------------------===// |