[all-commits] [llvm/llvm-project] 7907c4: Make clangd CompletionModel not depend on director...

Harald van Dijk via All-commits all-commits at lists.llvm.org
Wed May 5 11:26:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7907c46fe6195728fafd843b8c0fb19a3e68e9ad
      https://github.com/llvm/llvm-project/commit/7907c46fe6195728fafd843b8c0fb19a3e68e9ad
  Author: Harald van Dijk <harald at gigawatt.nl>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M clang-tools-extra/clangd/quality/CompletionModel.cmake

  Log Message:
  -----------
  Make clangd CompletionModel not depend on directory layout.

The current code accounts for two possible layouts, but there is at
least a third supported layout: clang-tools-extra may also be checked
out as clang/tools/extra with the releases, which was not yet handled.
Rather than treating that as a special case, use the location of
CompletionModel.cmake to handle all three cases. This should address the
problems that prompted D96787 and the problems that prompted the
proposed revert D100625.

Reviewed By: usaxena95

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




More information about the All-commits mailing list