[all-commits] [llvm/llvm-project] 9c09e2: [clangd] Add a NewName optional parameter to clang...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Wed Oct 7 12:19:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9c09e2055ee4d4e3b26e393ab460635825a79538
https://github.com/llvm/llvm-project/commit/9c09e2055ee4d4e3b26e393ab460635825a79538
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/ClangdServer.h
M clang-tools-extra/clangd/unittests/RenameTests.cpp
M clang-tools-extra/clangd/unittests/SyncAPI.cpp
M clang-tools-extra/clangd/unittests/SyncAPI.h
Log Message:
-----------
[clangd] Add a NewName optional parameter to clangdServer::prepareRename.
If the NewName is provided, prepareRename would perform a name
validation.
The motivation is to allow our internal embeder implement the customized
"canRenameInto" functionality on top of prepareRename.
Differential Revision: https://reviews.llvm.org/D88881
More information about the All-commits
mailing list