summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-03-16 23:22:08 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-03-16 23:22:08 +0000
commit0f8b23f71fbea0a62d35f884ce223bc452165b72 (patch)
tree3ad821351f1d8086fe6cf72d7bca3d69feeb76a8 /clang/lib/CodeGen/CGExprScalar.cpp
parent23d75bb3262dff87945bfb90065ef653d62e3947 (diff)
downloadbcm5719-llvm-0f8b23f71fbea0a62d35f884ce223bc452165b72.tar.gz
bcm5719-llvm-0f8b23f71fbea0a62d35f884ce223bc452165b72.zip
Almost complete implementation of rvalue references. One bug, and a few unclear areas. Maybe Doug can shed some light on some of the fixmes.
llvm-svn: 67059
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprScalar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp
index 8cd353408fd..1a64e3c905a 100644
--- a/clang/lib/CodeGen/CGExprScalar.cpp
+++ b/clang/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();
}
OpenPOWER on IntegriCloud