]> granicus.if.org Git - clang/commitdiff
Formatter: Remove debugging junk I accidentally landed in r172333.
authorNico Weber <nicolasweber@gmx.de>
Sat, 12 Jan 2013 22:51:13 +0000 (22:51 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 12 Jan 2013 22:51:13 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172334 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/Format.cpp
unittests/Format/FormatTest.cpp

index de870900b418275aedb8ed2662e700d8ce94c18a..94119325410e4af1a209d63ec75fed06ba4e358a 100644 (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) &&
index cba25fcf8f427253ba5afe0848e744a9ba065415..758bb3e967fdb7a63eed1e5660758152e7e960aa 100644 (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]];");