aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-12-29 05:02:41 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-12-29 05:02:41 +0000
commit22c940ee588a420cd2e6c8f68be2ac3cc80061ff (patch)
tree2fcf5d7177cc2b4b46279f26d5d96210f3738aee /CodeGen/CodeGenFunction.h
parentd3ba3f44ad3fc79f31ebbbe15a7a7f4a34226254 (diff)
Enable CodeGen for member expressions based on call expressions returning aggregate types. This enables expressions like 'foo().member.submember'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r--CodeGen/CodeGenFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h
index 3b51d43de9..40c7414b98 100644
--- a/CodeGen/CodeGenFunction.h
+++ b/CodeGen/CodeGenFunction.h
@@ -371,6 +371,9 @@ public:
/// is 'Ty'.
void EmitStoreThroughLValue(RValue Src, LValue Dst, QualType Ty);
void EmitStoreThroughOCUComponentLValue(RValue Src, LValue Dst, QualType Ty);
+
+ // Note: only availabe for agg return types
+ LValue EmitCallExprLValue(const CallExpr *E);
LValue EmitDeclRefLValue(const DeclRefExpr *E);
LValue EmitStringLiteralLValue(const StringLiteral *E);