forked from OSchip/llvm-project
Formatter: Remove debugging junk I accidentally landed in r172333.
llvm-svn: 172334
This commit is contained in:
parent
c9d7361173
commit
92c0539135
|
@ -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) &&
|
||||
|
|
|
@ -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]];");
|
||||
|
||||
|
|
Loading…
Reference in New Issue