summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-01-10 19:36:35 +0000
committerNico Weber <nicolasweber@gmx.de>2013-01-10 19:36:35 +0000
commita1a5abd5b13da602bc3cdd263d8890aec44239a2 (patch)
tree62ba8c54a6020fbc3dd9537d8d13d5efc9e66cbe /clang/unittests/Format/FormatTest.cpp
parent4a800f876abd560c83006be66ab6e1c06b70fc02 (diff)
downloadbcm5719-llvm-a1a5abd5b13da602bc3cdd263d8890aec44239a2.tar.gz
bcm5719-llvm-a1a5abd5b13da602bc3cdd263d8890aec44239a2.zip
Formatter: Don't put a space in ObjC number literals like @+50
Before: @ -4.5 Now: @-4.5 llvm-svn: 172095
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r--clang/unittests/Format/FormatTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index 077c358c22b..b55cad742ea 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -1402,11 +1402,10 @@ TEST_F(FormatTest, ObjCAt) {
verifyFormat("@throw");
verifyFormat("@try");
- // FIXME: Make the uncommented lines below pass.
verifyFormat("@\"String\"");
verifyFormat("@1");
- //verifyFormat("@+4.8");
- //verifyFormat("@-4");
+ verifyFormat("@+4.8");
+ verifyFormat("@-4");
verifyFormat("@1LL");
verifyFormat("@.5");
verifyFormat("@'c'");
OpenPOWER on IntegriCloud