From 7c80bd64032e610c0dbd74fc0ef6ea334447f2fd Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Mon, 16 Mar 2009 23:22:08 +0000 Subject: Almost complete implementation of rvalue references. One bug, and a few unclear areas. Maybe Doug can shed some light on some of the fixmes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67059 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExprScalar.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CodeGen/CGExprScalar.cpp') diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 8cd353408f..1a64e3c905 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -571,6 +571,7 @@ Value *ScalarExprEmitter::VisitImplicitCastExpr(const ImplicitCastExpr *E) { return V; } else if (E->getType()->isReferenceType()) { + // FIXME: An expression cannot have reference type. return EmitLValue(Op).getAddress(); } -- cgit v1.2.3