diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-08-23 15:58:10 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-08-23 15:58:10 +0000 |
commit | 48a9f36876c2ea52c97b74aa7ab7b07c59d64aa6 (patch) | |
tree | d2c4197cb4d379b830958cadcf6db64da271043b /clang/unittests/Format/FormatTestComments.cpp | |
parent | 66f6fc0a49231aee5a565822be46863ef6e4ed2d (diff) | |
download | bcm5719-llvm-48a9f36876c2ea52c97b74aa7ab7b07c59d64aa6.tar.gz bcm5719-llvm-48a9f36876c2ea52c97b74aa7ab7b07c59d64aa6.zip |
Revert "[clang-format] Emit absolute splits before lines for comments"
This reverts commit r311559, which added a test containing raw string
literals in macros, which chokes gcc:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55971
llvm-svn: 311566
Diffstat (limited to 'clang/unittests/Format/FormatTestComments.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestComments.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/unittests/Format/FormatTestComments.cpp b/clang/unittests/Format/FormatTestComments.cpp index 70fa965adee..79dc003ae85 100644 --- a/clang/unittests/Format/FormatTestComments.cpp +++ b/clang/unittests/Format/FormatTestComments.cpp @@ -2803,23 +2803,6 @@ TEST_F(FormatTestComments, NonTrailingBlockComments) { " A = B;", getLLVMStyleWithColumns(40))); } - -TEST_F(FormatTestComments, NoCrush_Bug34236) { - // This is a test case from a crasher reported in: - // https://bugs.llvm.org/show_bug.cgi?id=34236 - EXPECT_EQ( - R"( -/* */ /* - * a - * b c - * d*/)", - format( - R"( -/* */ /* - * a b - * c d*/)", - getLLVMStyleWithColumns(80))); -} } // end namespace } // end namespace format } // end namespace clang |