From e0dc7c70ee3fc1d6bdd8e2f166cc9e9be89061d9 Mon Sep 17 00:00:00 2001 From: Nico Weber <nicolasweber@gmx.de> Date: Wed, 13 Feb 2013 04:40:03 +0000 Subject: [PATCH] Formatter: And more cast tests (these don't pass yet). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175031 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Format/FormatTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 20667208da1..354654b1e28 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -2415,6 +2415,8 @@ TEST_F(FormatTest, FormatObjCMethodExpr) { verifyFormat("int a = *[foo bar:baz];"); // FIXME: Make casts work, without breaking f()[4]. //verifyFormat("int a = (int)[foo bar:baz];"); + //verifyFormat("return (int)[foo bar:baz];"); + //verifyFormat("(void)[foo bar:baz];"); verifyFormat("return (MyType *)[self.tableView cellForRowAtIndexPath:cell];"); // Binary operators. -- GitLab