diff options
author | Daniel Jasper <djasper@google.com> | 2016-05-08 18:14:01 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2016-05-08 18:14:01 +0000 |
commit | 2b2c967c1aa0f56e61cef98f0a5dacd08c851030 (patch) | |
tree | ca33d51fe6ce013cc8a5feed3628e2a4a8337af6 /clang/unittests/Format/FormatTest.cpp | |
parent | a7900adf41f4fefefb71fa475e9728b3bd7a779d (diff) | |
download | bcm5719-llvm-2b2c967c1aa0f56e61cef98f0a5dacd08c851030.tar.gz bcm5719-llvm-2b2c967c1aa0f56e61cef98f0a5dacd08c851030.zip |
clang-format: Fix space after argument comments.
Before:
f(/*a=*/a, /*b=*/ ::b);
After:
f(/*a=*/a, /*b=*/::b);
llvm-svn: 268879
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 470e989262c..3c72a13bf10 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -1122,7 +1122,7 @@ TEST_F(FormatTest, RemovesTrailingWhitespaceOfComments) { TEST_F(FormatTest, UnderstandsBlockComments) { verifyFormat("f(/*noSpaceAfterParameterNamingComment=*/true);"); - verifyFormat("void f() { g(/*aaa=*/x, /*bbb=*/!y); }"); + verifyFormat("void f() { g(/*aaa=*/x, /*bbb=*/!y, /*c=*/::c); }"); EXPECT_EQ("f(aaaaaaaaaaaaaaaaaaaaaaaaa, /* Trailing comment for aa... */\n" " bbbbbbbbbbbbbbbbbbbbbbbbb);", format("f(aaaaaaaaaaaaaaaaaaaaaaaaa , \\\n" |