diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2013-01-12 05:41:23 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-12 05:41:23 +0000 |
| commit | 63a54eb76611740792a629c83c803882641182b4 (patch) | |
| tree | 37abb579c71f6c74e2a7f457729c0fd15e4fe5e8 /clang/lib | |
| parent | 1a100cd78f70f13fe20d0e4a65c8d3d042014923 (diff) | |
| download | bcm5719-llvm-63a54eb76611740792a629c83c803882641182b4.tar.gz bcm5719-llvm-63a54eb76611740792a629c83c803882641182b4.zip | |
Formatter: + and - after { are unary operators.
llvm-svn: 172301
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 77fba1fbf1c..5140639d009 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -994,7 +994,7 @@ private: 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. |

