[all-commits] [llvm/llvm-project] a11ec0: FoldingRanges: Handle LineFoldingsOnly clients.

Utkarsh Saxena via All-commits all-commits at lists.llvm.org
Mon Aug 29 10:04:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a11ec00afea327419ec1ab7c78ba6818d6c5bbf7
      https://github.com/llvm/llvm-project/commit/a11ec00afea327419ec1ab7c78ba6818d6c5bbf7
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M clang-tools-extra/clangd/ClangdLSPServer.cpp
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/ClangdServer.h
    M clang-tools-extra/clangd/Protocol.cpp
    M clang-tools-extra/clangd/Protocol.h
    M clang-tools-extra/clangd/SemanticSelection.cpp
    M clang-tools-extra/clangd/SemanticSelection.h
    M clang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp

  Log Message:
  -----------
  FoldingRanges: Handle LineFoldingsOnly clients.

Do not fold the endline which contains tokens after the end of range.

Differential Revision: https://reviews.llvm.org/D131154




More information about the All-commits mailing list