diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-24 00:10:43 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-24 00:10:43 +0000 |
commit | e41590d2504d73453d58f22e9176088990555cc1 (patch) | |
tree | 76448fbfb9f3c89d0149955ad158771fc95a6c9f /lib/Sema/SemaStmt.cpp | |
parent | 220a0f3412dad46d7dadf8b6042783016c029564 (diff) |
[class.local] p1 and p3. Also, add back the xcodeproj file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r-- | lib/Sema/SemaStmt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp index 914839cbf7..5a91496db1 100644 --- a/lib/Sema/SemaStmt.cpp +++ b/lib/Sema/SemaStmt.cpp @@ -835,6 +835,7 @@ static bool IsReturnCopyElidable(ASTContext &Ctx, QualType RetType, Action::OwningStmtResult Sema::ActOnReturnStmt(SourceLocation ReturnLoc, FullExprArg rex) { + bool RetValExprIsValid = !rex->isInvalid(); Expr *RetValExp = rex->takeAs<Expr>(); if (CurBlock) return ActOnBlockReturnStmt(ReturnLoc, RetValExp); |