From 9fd8b6856867c2dfdfd308816af0fe4f23e3c358 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 13 May 2008 23:18:27 +0000 Subject: Add codegen support for block-level compound literals. llvm-svn: 51081 --- clang/lib/CodeGen/CodeGenFunction.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index f067a0e2250..0693781bce8 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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); -- cgit v1.2.3