diff options
author | Sheldon Neuberger <sneuberger@snapchat.com> | 2021-11-25 11:22:56 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2021-11-25 11:23:24 +0100 |
commit | e2cad4df22a6a411e7f7fcbc9bff0bd789545136 (patch) | |
tree | 7449a10c4edcc384a6047458b5dda83383b67364 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 3a700cabdcbadb2a1a5961fd380a103cd7f867b3 (diff) | |
download | llvm-e2cad4df22a6a411e7f7fcbc9bff0bd789545136.zip llvm-e2cad4df22a6a411e7f7fcbc9bff0bd789545136.tar.gz llvm-e2cad4df22a6a411e7f7fcbc9bff0bd789545136.tar.bz2 |
[clangd] Add ObjC method support to prepareCallHierarchy
This fixes "textDocument/prepareCallHierarchy" in clangd for ObjC methods. Details at https://github.com/clangd/vscode-clangd/issues/247.
clangd uses Decl::isFunctionOrFunctionTemplate to check if the decl given in a prepareCallHierarchy request is eligible for prepareCallHierarchy. We change to use isFunctionOrMethod which includes functions and ObjC methods.
Reviewed By: kadircet
Differential Revision: https://reviews.llvm.org/D114058
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions