Skip to content
Snippets Groups Projects
Commit deeab907 authored by Eli Friedman's avatar Eli Friedman
Browse files

Fix messed-up indentation in r147515.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147517 91177308-0d34-0410-b5e6-96231b3b80d8
parent dc3b723d
No related branches found
No related tags found
No related merge requests found
...@@ -793,8 +793,8 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer( ...@@ -793,8 +793,8 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer(
TrailingReturnType), TrailingReturnType),
Attr, DeclEndLoc); Attr, DeclEndLoc);
// Inform sema that we are starting a block. // Inform sema that we are starting a block.
Actions.ActOnLambdaArguments(D, getCurScope()); Actions.ActOnLambdaArguments(D, getCurScope());
} }
// Parse compound-statement. // Parse compound-statement.
...@@ -812,12 +812,12 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer( ...@@ -812,12 +812,12 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer(
StmtResult Stmt(ParseCompoundStatementBody()); StmtResult Stmt(ParseCompoundStatementBody());
BodyScope.Exit(); BodyScope.Exit();
if (!Stmt.isInvalid()) if (!Stmt.isInvalid())
return Actions.ActOnLambdaExpr(LambdaBeginLoc, Stmt.take(), return Actions.ActOnLambdaExpr(LambdaBeginLoc, Stmt.take(),
getCurScope()); getCurScope());
Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope()); Actions.ActOnLambdaError(LambdaBeginLoc, getCurScope());
return ExprError(); return ExprError();
} }
/// ParseCXXCasts - This handles the various ways to cast expressions to another /// ParseCXXCasts - This handles the various ways to cast expressions to another
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment