[PATCH] D22431: clang-format: [JS] nested and tagged template strings.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 15 17:45:48 PDT 2016
mprobst added inline comments.
================
Comment at: lib/Format/TokenAnnotator.cpp:1821
@@ -1819,1 +1820,3 @@
+ (Right.is(TT_TemplateString) && Right.TokenText.startswith("}")))
+ return 100;
}
----------------
I've chosen 100 by fair dice roll. Please advise on how to pick a reasonable penalty :-)
https://reviews.llvm.org/D22431
More information about the cfe-commits
mailing list