[all-commits] [llvm/llvm-project] 39866d: [clangd][ObjC] Improve support for class properties

David Goldman via All-commits all-commits at lists.llvm.org
Wed Apr 28 07:07:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39866d249a21fc3c05942a1a4fbbd88acc4660bc
      https://github.com/llvm/llvm-project/commit/39866d249a21fc3c05942a1a4fbbd88acc4660bc
  Author: David Goldman <davg at google.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

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

  Log Message:
  -----------
  [clangd][ObjC] Improve support for class properties

Class properties are always implicit short-hands for the getter/setter
class methods.

We need to explicitly visit the interface decl `UIColor` in `UIColor.blueColor`,
otherwise we instead show the method decl even while hovering over
`UIColor` in the expression.

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




More information about the All-commits mailing list