]> granicus.if.org Git - clang/commitdiff
clang-format: [JS] Initialize new configuration value.
authorMartin Probst <martin@probst.io>
Mon, 13 Jun 2016 17:50:10 +0000 (17:50 +0000)
committerMartin Probst <martin@probst.io>
Mon, 13 Jun 2016 17:50:10 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272569 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/Format.cpp

index c73ef5061bf4d89e8631797da015ae072004a0ee..45ae4338fc8214d893caffb1f9983c2c9de8067d 100644 (file)
@@ -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;