diff options
author | John McCall <rjmccall@apple.com> | 2010-09-15 20:59:13 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-15 20:59:13 +0000 |
commit | 58277b57f9492d0234748be89bcad48b322c5cf7 (patch) | |
tree | 6ea0925c10af018b411583a7bc18fa123b70824d /lib/AST/Expr.cpp | |
parent | 424a5c63bb337926f3a1bfa20cc9f7c944aacbb0 (diff) |
Tweak comment as suggested by Sebastian.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |