r175803 - Remove accidentally introduced no-op line.

Daniel Jasper djasper at google.com
Thu Feb 21 13:40:48 PST 2013


Author: djasper
Date: Thu Feb 21 15:40:48 2013
New Revision: 175803

URL: http://llvm.org/viewvc/llvm-project?rev=175803&view=rev
Log:
Remove accidentally introduced no-op line.

Was used during experiments, but another if-statements a few lines
before makes it (intentionally) useless.

Modified:
    cfe/trunk/lib/Format/TokenAnnotator.cpp

Modified: cfe/trunk/lib/Format/TokenAnnotator.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/TokenAnnotator.cpp?rev=175803&r1=175802&r2=175803&view=diff
==============================================================================
--- cfe/trunk/lib/Format/TokenAnnotator.cpp (original)
+++ cfe/trunk/lib/Format/TokenAnnotator.cpp Thu Feb 21 15:40:48 2013
@@ -1103,7 +1103,6 @@ bool TokenAnnotator::canBreakBefore(cons
          Right.is(tok::arrow) || Right.is(tok::period) ||
          Right.is(tok::colon) || Left.is(tok::coloncolon) ||
          Left.is(tok::semi) || Left.is(tok::l_brace) ||
-         Right.is(tok::r_brace) ||
          (Left.is(tok::r_paren) && Left.Type != TT_CastRParen &&
           Right.is(tok::identifier)) ||
          (Left.is(tok::l_paren) && !Right.is(tok::r_paren)) ||





More information about the cfe-commits mailing list