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 | 87fc5a5e6b9c021dc8e6aaa6c80d218ac4ea1970 (patch) | |
| tree | 91576504f731478d53f771e4c29de6ff6daeb983 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | d564f2995706d4268eeffc16bbaded0bdd3bae8f (diff) | |
| download | bcm5719-llvm-87fc5a5e6b9c021dc8e6aaa6c80d218ac4ea1970.tar.gz bcm5719-llvm-87fc5a5e6b9c021dc8e6aaa6c80d218ac4ea1970.zip | |
Add preliminary (and probably broken) codegen support for C++ static initializers.
llvm-svn: 55180
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 //===--------------------------------------------------------------------===// |

