Author: Kadir Cetinkaya Date: 2020-06-03T23:56:49+02:00 New Revision: 49cbe56a657b91e612f8305e7f8f9119ffe84378
URL: https://github.com/llvm/llvm-project/commit/49cbe56a657b91e612f8305e7f8f9119ffe84378 DIFF: https://github.com/llvm/llvm-project/commit/49cbe56a657b91e612f8305e7f8f9119ffe84378.diff LOG: [clangd] Fix forgotten propagation of AsnycPreamble flag Added: Modified: clang-tools-extra/clangd/tool/ClangdMain.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp index eec3a830f6e7..c43f125d50d7 100644 --- a/clang-tools-extra/clangd/tool/ClangdMain.cpp +++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -764,6 +764,8 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var // Shall we allow to customize the file limit? RenameOpts.AllowCrossFile = CrossFileRename; + Opts.AsyncPreambleBuilds = AsyncPreamble; + ClangdLSPServer LSPServer( *TransportLayer, FSProvider, CCOpts, RenameOpts, CompileCommandsDirPath, /*UseDirBasedCDB=*/CompileArgsFrom == FilesystemCompileArgs, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits