[all-commits] [llvm/llvm-project] 169879: [clangd] Fix LineFoldingOnly flag is not propagate...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Mon Sep 5 06:58:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 16987998e6a0ad62efd4e387c18b0b9b5ef51947
https://github.com/llvm/llvm-project/commit/16987998e6a0ad62efd4e387c18b0b9b5ef51947
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2022-09-05 (Mon, 05 Sep 2022)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
A clang-tools-extra/clangd/test/folding-range.test
Log Message:
-----------
[clangd] Fix LineFoldingOnly flag is not propagated correctly to ClangdServer.
The Opts.LineFoldingOnly must be set before the clangdServer
construction, otherwise this flag is always false when using clangd in VSCode.
Differential Revision: https://reviews.llvm.org/D133299
More information about the All-commits
mailing list