From 02dc8c73e19231d729cf6f3366152bc72e60c902 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 15 Sep 2010 20:59:13 +0000 Subject: Tweak comment as suggested by Sebastian. llvm-svn: 114019 --- clang/lib/AST/Expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/AST/Expr.cpp') diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index 4e65b9c3397..f3285ec390b 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -1656,7 +1656,7 @@ bool Expr::isTemporaryObject(ASTContext &C, const CXXRecordDecl *TempTy) const { 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 -- cgit v1.2.3