diff options
author | Daniel Jasper <djasper@google.com> | 2015-05-27 04:55:47 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-05-27 04:55:47 +0000 |
commit | 3273930d9acee986bc3d1bc24556354e26a797fd (patch) | |
tree | de2d103f6b10ebcdc8aa254a901cb1aa2dd4591e /clang/unittests/Format/FormatTest.cpp | |
parent | 9b7f6677d9f022677169abf475fe545e7b0de4b5 (diff) | |
download | bcm5719-llvm-3273930d9acee986bc3d1bc24556354e26a797fd.tar.gz bcm5719-llvm-3273930d9acee986bc3d1bc24556354e26a797fd.zip |
clang-format: Fix false positive in function annotation detection.
llvm-svn: 238285
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index ca50be98fe3..1c100c3b9b0 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -4064,6 +4064,8 @@ TEST_F(FormatTest, FunctionAnnotations) { // Not function annotations. verifyFormat("ASSERT(\"aaaaa\") << aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n" " << bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"); + verifyFormat("TEST_F(ThisIsATestFixtureeeeeeeeeeeee,\n" + " ThisIsATestWithAReallyReallyReallyReallyLongName) {}"); } TEST_F(FormatTest, BreaksDesireably) { |