From 58277b57f9492d0234748be89bcad48b322c5cf7 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 15 Sep 2010 20:59:13 +0000 Subject: [PATCH] Tweak comment as suggested by Sebastian. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114019 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/Expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 4e65b9c339..f3285ec390 100644 --- a/lib/AST/Expr.cpp +++ b/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 -- 2.40.0