diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-22 16:53:59 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-22 16:53:59 +0000 |
commit | f5ecfa5b4fb01dee3f357efc815fbc715706aba5 (patch) | |
tree | 699d8c0395eceee6ad2035635f6583891349d617 /unittests/Format/FormatTest.cpp | |
parent | 86721d2a4610ac0a4b162952ec409df1fe397d58 (diff) |
Formatter: Remove a fixme klimek fixed in r173168.
Add a few comments to the ObjC test cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173169 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r-- | unittests/Format/FormatTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index b0f0fdba36..3065a836dd 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -1725,7 +1725,6 @@ TEST_F(FormatTest, FormatObjCBlocks) { } TEST_F(FormatTest, FormatObjCInterface) { - // FIXME: Handle comments like in "@interface /* wait for it */ Foo", PR14875 verifyFormat("@interface Foo : NSObject <NSSomeDelegate> {\n" "@public\n" " int field1;\n" @@ -1752,7 +1751,7 @@ TEST_F(FormatTest, FormatObjCInterface) { "+ (id)init;\n" "@end"); - verifyFormat("@interface Foo\n" + verifyFormat("@interface /* wait for it */ Foo\n" "+ (id)init;\n" "// Look, a comment!\n" "- (int)answerWith:(int)i;\n" @@ -1767,7 +1766,7 @@ TEST_F(FormatTest, FormatObjCInterface) { "+ (id)init;\n" "@end"); - verifyFormat("@interface Foo : Bar <Baz, Quux>\n" + verifyFormat("@interface Foo : /**/ Bar /**/ <Baz, /**/ Quux>\n" "+ (id)init;\n" "@end"); |