aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-13 23:18:27 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-13 23:18:27 +0000
commit06e863f2902b8ba55b056308875c19f7ba3dab25 (patch)
tree5d22471220749909a9297f5148aed4dc1bc4a17c /lib/CodeGen/CodeGenFunction.h
parentc4777f1928913423234d8d534898f22e9792ae52 (diff)
Add codegen support for block-level compound literals.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index f067a0e225..0693781bce 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -69,6 +69,7 @@ namespace clang {
class ObjCStringLiteral;
class ObjCIvarRefExpr;
class MemberExpr;
+ class CompoundLiteralExpr;
class VarDecl;
class EnumConstantDecl;
@@ -431,6 +432,7 @@ public:
LValue EmitArraySubscriptExpr(const ArraySubscriptExpr *E);
LValue EmitExtVectorElementExpr(const ExtVectorElementExpr *E);
LValue EmitMemberExpr(const MemberExpr *E);
+ LValue EmitCompoundLiteralLValue(const CompoundLiteralExpr *E);
LValue EmitLValueForField(llvm::Value* Base, FieldDecl* Field,
bool isUnion);