aboutsummaryrefslogtreecommitdiff
path: root/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-01-12 07:00:16 +0000
committerNico Weber <nicolasweber@gmx.de>2013-01-12 07:00:16 +0000
commit774b97312ddffe64435a1428f904211ee46cf289 (patch)
treeb00e65db29e2ea506925537550de0740c9c58a84 /unittests/Format/FormatTest.cpp
parent838dc597e25614c653a062a124b06a04d6b7f5eb (diff)
Formatter: Remove a redundant CurrentLineType check.
The containing if checks for this already. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r--unittests/Format/FormatTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp
index 90bdb67cff..84ce0c1e06 100644
--- a/unittests/Format/FormatTest.cpp
+++ b/unittests/Format/FormatTest.cpp
@@ -1515,7 +1515,6 @@ TEST_F(FormatTest, FormatObjCMethodExpr) {
verifyFormat("[self stuffWithInt:a ? (e ? f : g) : c];");
verifyFormat("[cond ? obj1 : obj2 methodWithParam:param]");
-
verifyFormat("arr[[self indexForFoo:a]];");
verifyFormat("throw [self errorFor:a];");
verifyFormat("@throw [self errorFor:a];");