summaryrefslogtreecommitdiffstats
path: root/clang/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
commit9fd8b6856867c2dfdfd308816af0fe4f23e3c358 (patch)
tree1e1897b5f9f1d5b6ef2208c8fbecee9cc1658768 /clang/lib/CodeGen/CodeGenFunction.h
parentdd7406e65c9153c4dce5ea8cc70514975eddc45e (diff)
downloadbcm5719-llvm-9fd8b6856867c2dfdfd308816af0fe4f23e3c358.tar.gz
bcm5719-llvm-9fd8b6856867c2dfdfd308816af0fe4f23e3c358.zip
Add codegen support for block-level compound literals.
llvm-svn: 51081
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud