[all-commits] [llvm/llvm-project] 0cbbf0: [clangd] Log a message when gRPC support is off, b...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Thu Apr 29 23:50:12 PDT 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cbbf06b625605fff83d89b17c2187c7ccfcecd5
      https://github.com/llvm/llvm-project/commit/0cbbf06b625605fff83d89b17c2187c7ccfcecd5
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M clang-tools-extra/clangd/ConfigCompile.cpp
    M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp

  Log Message:
  -----------
  [clangd] Log a message when gRPC support is off, but remote-index is configured

Before this change clangd would emit a diagnostic whenever remote-index
was configured but binary didn't have grpc support.

This can be annoying when projects are configuring remote-index through their
configs but developers have a clangd binary without the support.

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

(cherry picked from commit b9b708eef8cb7bcb073361283cd573beb04992a9)




More information about the All-commits mailing list