[all-commits] [llvm/llvm-project] 840171: [clangd] Ignore ObjC `id` and `instancetype` in Fi...

David Goldman via All-commits all-commits at lists.llvm.org
Tue Sep 14 07:07:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8401713b3ef1456a603874d96a99b2d5953df49c
      https://github.com/llvm/llvm-project/commit/8401713b3ef1456a603874d96a99b2d5953df49c
  Author: David Goldman <davg at google.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M clang-tools-extra/clangd/FindTarget.cpp
    M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
    M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp

  Log Message:
  -----------
  [clangd] Ignore ObjC `id` and `instancetype` in FindTarget

Even though they're implemented via typedefs, we typically
want to treat them like keywords.

We could add hover information / xrefs, but it's very unlikely
to provide any value.

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




More information about the All-commits mailing list