diff options
author | Anders Carlsson <andersca@mac.com> | 2007-10-17 00:52:43 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2007-10-17 00:52:43 +0000 |
commit | 1a86b33c1870fee08d281c9f07ac1280195a7fae (patch) | |
tree | bc8758a3130764e9274f8efeb214e111253b83f7 /CodeGen/CodeGenFunction.h | |
parent | adc9b13208a628c525fe075afb06bca518810777 (diff) |
Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index b48280cd31..abb03ab9c0 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -304,6 +304,7 @@ public: void EmitEnumConstantDecl(const EnumConstantDecl &D); void EmitBlockVarDecl(const BlockVarDecl &D); void EmitLocalBlockVarDecl(const BlockVarDecl &D); + void EmitStaticBlockVarDecl(const BlockVarDecl &D); void EmitParmDecl(const ParmVarDecl &D, llvm::Value *Arg); //===--------------------------------------------------------------------===// |