Formatter: + and - after { are unary operators.
llvm-svn: 172301
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 77fba1f..5140639d 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -994,7 +994,7 @@
Tok.Parent->is(tok::comma) || Tok.Parent->is(tok::l_square) ||
Tok.Parent->is(tok::question) || Tok.Parent->is(tok::colon) ||
Tok.Parent->is(tok::kw_return) || Tok.Parent->is(tok::kw_case) ||
- Tok.Parent->is(tok::at))
+ Tok.Parent->is(tok::at) || Tok.Parent->is(tok::l_brace))
return TT_UnaryOperator;
// There can't be to consecutive binary operators.