[PATCH] D17385: clang-format: [JS] re-quote single or double quoted strings.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 1 21:36:38 PST 2016
mprobst marked 2 inline comments as done.
================
Comment at: unittests/Format/FormatTestJS.cpp:639-640
@@ -638,3 +638,4 @@
verifyFormat("var literal = 'hello ' +\n"
- " 'world';");
+ " 'worldworldworldworld';",
+ getGoogleJSStyleWithColumns(30));
}
----------------
Reverted after some more discussion, this is the "must break before otherwise pointless string wrapping" feature.
http://reviews.llvm.org/D17385
More information about the cfe-commits
mailing list