From 6029d4f3aeb711000bb9c07a6ec806248ca141bf Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 22 Jan 2013 16:53:59 +0000 Subject: [PATCH] Formatter: Remove a fixme klimek fixed in r173168. Add a few comments to the ObjC test cases. llvm-svn: 173169 --- clang/unittests/Format/FormatTest.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index b0f0fdb..3065a83 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/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 {\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 \n" + verifyFormat("@interface Foo : /**/ Bar /**/ \n" "+ (id)init;\n" "@end"); -- 2.7.4