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 | 02dc8c73e19231d729cf6f3366152bc72e60c902 (patch) | |
| tree | c17f8d9e6806172c16b70038f7b9317cc092b027 /clang/lib/AST/Expr.cpp | |
| parent | 28b5286bda20f9ec2fc5d818a4444fb06194f5f6 (diff) | |
| download | bcm5719-llvm-02dc8c73e19231d729cf6f3366152bc72e60c902.tar.gz bcm5719-llvm-02dc8c73e19231d729cf6f3366152bc72e60c902.zip | |
Tweak comment as suggested by Sebastian.
llvm-svn: 114019
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
| -rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |

