diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-07 16:14:28 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-07 16:14:28 +0000 |
commit | d0af4b46741560cf2e52d819e1f3a2506a1e7a3c (patch) | |
tree | 63af738fd173d19be4a7b5a249d1372051f90ac5 /unittests/Format/FormatTest.cpp | |
parent | 4a293a2edaf1b24cbc810c162a4a6a76713d8471 (diff) |
Formatter: Don't put spaces betwen @ and objc keywords.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r-- | unittests/Format/FormatTest.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 34b31d42d2..17e98741fd 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -1022,10 +1022,9 @@ TEST_F(FormatTest, FormatForObjectiveCMethodDecls) { } TEST_F(FormatTest, ObjCAt) { - // FIXME: Make the uncommented lines pass. verifyFormat("@autoreleasepool"); - //verifyFormat("@catch"); - //verifyFormat("@class"); + verifyFormat("@catch"); + verifyFormat("@class"); verifyFormat("@compatibility_alias"); verifyFormat("@defs"); verifyFormat("@dynamic"); @@ -1037,17 +1036,17 @@ TEST_F(FormatTest, ObjCAt) { verifyFormat("@interface"); verifyFormat("@optional"); verifyFormat("@package"); - //verifyFormat("@private"); + verifyFormat("@private"); verifyFormat("@property"); - //verifyFormat("@protected"); + verifyFormat("@protected"); verifyFormat("@protocol"); - //verifyFormat("@public"); + verifyFormat("@public"); verifyFormat("@required"); verifyFormat("@selector"); verifyFormat("@synchronized"); verifyFormat("@synthesize"); - //verifyFormat("@throw"); - //verifyFormat("@try"); + verifyFormat("@throw"); + verifyFormat("@try"); EXPECT_EQ("@interface", format("@ interface")); |