summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestJS.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-08-03 12:19:22 +0000
committerTim Northover <tnorthover@apple.com>2018-08-03 12:19:22 +0000
commit608f136dbbb3570b61c66478a07b40ad3051fcba (patch)
treee5595757e47e290a1f95cf66951db8fafb173cdc /clang/unittests/Format/FormatTestJS.cpp
parent3a92c5c1d38f045cd199093a84f49bb961b8a64e (diff)
downloadbcm5719-llvm-608f136dbbb3570b61c66478a07b40ad3051fcba.tar.gz
bcm5719-llvm-608f136dbbb3570b61c66478a07b40ad3051fcba.zip
Revert "clang-format: [JS] don't break comments before any '{'"
This reverts commit r338837, it introduced an infinite loop on all bots. llvm-svn: 338879
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
-rw-r--r--clang/unittests/Format/FormatTestJS.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp
index 58a900352a2..fe148393b98 100644
--- a/clang/unittests/Format/FormatTestJS.cpp
+++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -2067,14 +2067,6 @@ TEST_F(FormatTestJS, JSDocAnnotations) {
" * @param {canWrap onSpace}\n"
" */",
getGoogleJSStyleWithColumns(20));
- // make sure clang-format doesn't break before *any* '{'
- verifyFormat("/**\n"
- " * @lala {lala {lalala\n"
- " */\n",
- "/**\n"
- " * @lala {lala {lalala\n"
- " */\n",
- getGoogleJSStyleWithColumns(20));
verifyFormat("/**\n"
" * @see http://very/very/long/url/is/long\n"
" */",
OpenPOWER on IntegriCloud