From: John McCall Date: Wed, 15 Sep 2010 20:59:13 +0000 (+0000) Subject: Tweak comment as suggested by Sebastian. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58277b57f9492d0234748be89bcad48b322c5cf7;p=clang Tweak comment as suggested by Sebastian. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114019 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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