diff options
author | John McCall <rjmccall@apple.com> | 2011-06-16 23:24:51 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-06-16 23:24:51 +0000 |
commit | 856d3798af7c2f7251e4a295f3da7a09ce4c62ab (patch) | |
tree | 92d24dad87897ae964055277893df0c3ccf04bfb /lib/Sema/SemaStmt.cpp | |
parent | 6970155edde8c79cf22824322470485434b8eb83 (diff) |
Be sure to try a final ARC-production even in Objective-C++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r-- | lib/Sema/SemaStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp index 18e5f7e3a4..a5ad0a5a2b 100644 --- a/lib/Sema/SemaStmt.cpp +++ b/lib/Sema/SemaStmt.cpp @@ -1787,7 +1787,7 @@ Sema::ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { // overlap restriction of subclause 6.5.16.1 does not apply to the case of // function return. - // In C++ the return statement is handled via a copy initialization. + // In C++ the return statement is handled via a copy initialization, // the C version of which boils down to CheckSingleAssignmentConstraints. NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc, |