[all-commits] [llvm/llvm-project] dc6c1f: [clangd][ObjC] Fix ObjC method definition completion

David Goldman via All-commits all-commits at lists.llvm.org
Fri Jul 1 07:05:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc6c1f181b8a95b959f590423ce007b819532290
      https://github.com/llvm/llvm-project/commit/dc6c1f181b8a95b959f590423ce007b819532290
  Author: David Goldman <davg at google.com>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

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

  Log Message:
  -----------
  [clangd][ObjC] Fix ObjC method definition completion

D124637 improved filtering of method expressions, but not method
definitions. With this change, clangd will now filter ObjC method
definition completions based on their entire selector instead of
only the first selector fragment.

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




More information about the All-commits mailing list