diff options
author | Daniel Jasper <djasper@google.com> | 2013-05-03 14:50:50 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-05-03 14:50:50 +0000 |
commit | 454cb70f9470dc37d0c0646012877d64fb1e73d7 (patch) | |
tree | b0c6f2fcc7e3fef44c3dc266349fcf25090cdae4 /unittests/Format/FormatTest.cpp | |
parent | 16a69ef481f4580c571b6c693a5d3dd64ea56b53 (diff) |
Add space between ; and (.
Before: for (int i = 0;(i < 10); ++i) {}
After: for (int i = 0; (i < 10); ++i) {}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r-- | unittests/Format/FormatTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index abb2b5819c..45c8e81dc7 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -302,6 +302,7 @@ TEST_F(FormatTest, FormatsForLoop) { verifyFormat("for (;;) {\n" " f();\n" "}"); + verifyFormat("for (int i = 0; (i < 10); ++i) {\n}"); verifyFormat( "for (std::vector<UnwrappedLine>::iterator I = UnwrappedLines.begin(),\n" |