summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-08-22 16:00:37 +0000
committerAnders Carlsson <andersca@mac.com>2008-08-22 16:00:37 +0000
commit87fc5a5e6b9c021dc8e6aaa6c80d218ac4ea1970 (patch)
tree91576504f731478d53f771e4c29de6ff6daeb983 /clang/lib/CodeGen/CodeGenFunction.h
parentd564f2995706d4268eeffc16bbaded0bdd3bae8f (diff)
downloadbcm5719-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.h4
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
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud