[all-commits] [llvm/llvm-project] 2a030e: [clangd][ObjC] Fix issue completing a method decl ...

David Goldman via All-commits all-commits at lists.llvm.org
Tue Jun 1 10:44:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a030e680e0812c652ed4ae2b012e285a5514ffa
      https://github.com/llvm/llvm-project/commit/2a030e680e0812c652ed4ae2b012e285a5514ffa
  Author: David Goldman <davg at google.com>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

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

  Log Message:
  -----------
  [clangd][ObjC] Fix issue completing a method decl by name

When completing an Objective-C method declaration by name, we need to
preserve the leading text as a `qualifier` so we insert it properly
before the first typed text chunk.

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




More information about the All-commits mailing list