diff options
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r-- | lib/Format/Format.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index c0ed6c5be1..39efeab52c 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -1033,6 +1033,8 @@ private: if (Left.is(tok::at) && Right.FormatTok.Tok.getObjCKeywordID() != tok::objc_not_keyword) return false; + if (Left.is(tok::l_brace) && Right.is(tok::r_brace)) + return false; return true; } |