Formatter: Remove debugging junk I accidentally landed in r172333.

llvm-svn: 172334
This commit is contained in:
Nico Weber 2013-01-12 22:51:13 +00:00
parent c9d7361173
commit 92c0539135
2 changed files with 1 additions and 4 deletions

View File

@ -190,7 +190,7 @@ static bool fitsIntoLimit(const AnnotatedToken &RootToken, unsigned Limit) {
/// \brief Returns if a token is an Objective-C selector name.
///
/// For example, "bar" is a selector name in [foo bar:(4 + 5)]
/// For example, "bar" is a selector name in [foo bar:(4 + 5)].
static bool isObjCSelectorName(const AnnotatedToken &Tok) {
return Tok.is(tok::identifier) && !Tok.Children.empty() &&
Tok.Children[0].is(tok::colon) &&

View File

@ -1544,9 +1544,6 @@ TEST_F(FormatTest, FormatObjCMethodExpr) {
" if ((self = [super initWithContentRect:contentRect styleMask:styleMask\n"
" backing:NSBackingStoreBuffered defer:YES]))");
verifyFormat("[foo setasdfasdffffffffffffadfasdfasdf:\n"
" [bar dowith:asdfdsfasdfasdfasfasfasfsafasdfsfad]];");
verifyFormat("[foo checkThatBreakingAfterColonWorksOk:\n"
" [bar ifItDoes:reduceOverallLineLengthLikeInThisCase]];");