From: Martin Probst Date: Mon, 13 Jun 2016 17:50:10 +0000 (+0000) Subject: clang-format: [JS] Initialize new configuration value. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=facdebd9870fddf56dedab0f90e2cb5b3d639c1b;p=clang clang-format: [JS] Initialize new configuration value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272569 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index c73ef5061b..45ae4338fc 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -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;