aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-25 19:35:26 +0000
committerChris Lattner <sabre@nondot.org>2009-04-25 19:35:26 +0000
commit654599454c8e6cc83b1b9b3af43c49c2f66a26cb (patch)
tree3993b25fc47c8fbdc2e4cd362f3cbeeafbbd57b0 /lib/CodeGen/CodeGenFunction.h
parent1986cadcb30bbffafd321d9ac9f73fc3df050e74 (diff)
fix PR4067: [Linux kernel] cannot aggregate codegen stmtexpr as lvalue
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 2cad46ed01..9fc59527ce 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -645,7 +645,8 @@ public:
LValue EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E);
LValue EmitObjCPropertyRefLValue(const ObjCPropertyRefExpr *E);
LValue EmitObjCKVCRefLValue(const ObjCKVCRefExpr *E);
- LValue EmitObjCSuperExpr(const ObjCSuperExpr *E);
+ LValue EmitObjCSuperExprLValue(const ObjCSuperExpr *E);
+ LValue EmitStmtExprLValue(const StmtExpr *E);
//===--------------------------------------------------------------------===//
// Scalar Expression Emission