[cfe-commits] r114019 - /cfe/trunk/lib/AST/Expr.cpp
John McCall
rjmccall at apple.com
Wed Sep 15 13:59:16 PDT 2010
Author: rjmccall
Date: Wed Sep 15 15:59:13 2010
New Revision: 114019
URL: http://llvm.org/viewvc/llvm-project?rev=114019&view=rev
Log:
Tweak comment as suggested by Sebastian.
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=114019&r1=114018&r2=114019&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Wed Sep 15 15:59:13 2010
@@ -1656,7 +1656,7 @@
const Expr *E = skipTemporaryBindingsAndNoOpCasts(this);
- // pr-values of class type are always temporaries.
+ // Temporaries are by definition pr-values of class type.
if (!E->Classify(C).isPRValue()) return false;
// Black-list implicit derived-to-base conversions, which are the
More information about the cfe-commits
mailing list