[all-commits] [llvm/llvm-project] 3bcbb4: [clangd] Use `SymbolName` to represent Objective-C...

Alex Hoppen via All-commits all-commits at lists.llvm.org
Tue Mar 25 11:34:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bcbb472586fddf66c58011e57e08550d59ea8e5
      https://github.com/llvm/llvm-project/commit/3bcbb472586fddf66c58011e57e08550d59ea8e5
  Author: Alex Hoppen <ahoppen at apple.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/refactor/Rename.h
    M clang-tools-extra/clangd/unittests/RenameTests.cpp

  Log Message:
  -----------
  [clangd] Use `SymbolName` to represent Objective-C selectors (#82061)

This is a cleaner design than using identifier and an optional `Selector`. It also allows rename of Objective-C method names if no declaration is at hand and thus no `Selector` instance can be formed. For example, when finding the ranges to rename based on an index that’s not clangd’s built-in index.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list