From facdebd9870fddf56dedab0f90e2cb5b3d639c1b Mon Sep 17 00:00:00 2001 From: Martin Probst Date: Mon, 13 Jun 2016 17:50:10 +0000 Subject: [PATCH] clang-format: [JS] Initialize new configuration value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272569 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/Format.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.40.0