[all-commits] [llvm/llvm-project] 07c5a8: Improve hover scopes for Objective-C code

David Goldman via All-commits all-commits at lists.llvm.org
Fri Feb 12 07:28:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07c5a800dc1769f3f684d4a864f3903ac9ffa9f3
      https://github.com/llvm/llvm-project/commit/07c5a800dc1769f3f684d4a864f3903ac9ffa9f3
  Author: David Goldman <davg at google.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M clang-tools-extra/clangd/AST.cpp
    M clang-tools-extra/clangd/AST.h
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp

  Log Message:
  -----------
  Improve hover scopes for Objective-C code

- Instead of `AppDelegate::application:didFinishLaunchingWithOptions:` you
will now see `-[AppDelegate application:didFinishLaunchingWithOptions:]`

- Also include categories in the name when printing the scopes, e.g. `Class(Category)` and `-[Class(Category) method]`

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




More information about the All-commits mailing list