r272569 - clang-format: [JS] Initialize new configuration value.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 13 10:50:10 PDT 2016
Author: mprobst
Date: Mon Jun 13 12:50:10 2016
New Revision: 272569
URL: http://llvm.org/viewvc/llvm-project?rev=272569&view=rev
Log:
clang-format: [JS] Initialize new configuration value.
Modified:
cfe/trunk/lib/Format/Format.cpp
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=272569&r1=272568&r2=272569&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Mon Jun 13 12:50:10 2016
@@ -532,6 +532,8 @@ FormatStyle getLLVMStyle() {
LLVMStyle.IndentCaseLabels = false;
LLVMStyle.IndentWrappedFunctionNames = false;
LLVMStyle.IndentWidth = 2;
+ LLVMStyle.JavaScriptQuotes = FormatStyle::JSQS_Leave;
+ LLVMStyle.JavaScriptWrapImports = true;
LLVMStyle.TabWidth = 8;
LLVMStyle.MaxEmptyLinesToKeep = 1;
LLVMStyle.KeepEmptyLinesAtTheStartOfBlocks = true;
More information about the cfe-commits
mailing list