From 4029ca7ae9d3ffd7738fe2ed8782bebc30f36fd6 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 20 May 2009 00:24:07 +0000 Subject: Add EmitReferenceBindingToExpr. Have EmitCallArg use it for now. Doesn't support anything but at least we don't crash ;) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72147 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/CodeGenFunction.h') diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 081e44f915..130bc369e3 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -708,6 +708,10 @@ public: void EmitObjCSuperPropertySet(const Expr *E, const Selector &S, RValue Src); + /// EmitReferenceBindingToExpr - Emits a reference binding to the passed in + /// expression. Will emit a temporary variable if E is not an LValue. + RValue EmitReferenceBindingToExpr(const Expr* E, QualType DestType); + //===--------------------------------------------------------------------===// // Expression Emission //===--------------------------------------------------------------------===// -- cgit v1.2.3-70-g09d2