[all-commits] [llvm/llvm-project] 544d20: [clangd] Dont index ObjCCategoryDecls for completion

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Jun 22 13:43:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 544d20eab662e29640c8435033e7458e5ee1857e
      https://github.com/llvm/llvm-project/commit/544d20eab662e29640c8435033e7458e5ee1857e
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
    M clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp

  Log Message:
  -----------
  [clangd] Dont index ObjCCategoryDecls for completion

They are already provided by Sema, deserializing from preamble if need
be. Moreover category names are meaningless outside interface/implementation
context, hence they were only causing noise.

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




More information about the All-commits mailing list