aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r--lib/Parse/ParseExpr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp
index 1bec279890..c4df632cc8 100644
--- a/lib/Parse/ParseExpr.cpp
+++ b/lib/Parse/ParseExpr.cpp
@@ -1256,8 +1256,7 @@ Parser::OwningExprResult Parser::ParseBlockLiteralExpression() {
} else {
Actions.ActOnBlockError(CaretLoc, CurScope);
}
- }
- else {
+ } else {
// Saw something like: ^expr
Diag(Tok, diag::err_expected_expression);
return ExprError();