llvm-project/clang-tools-extra/clangd/test
Haojian Wu 8b49173a82 [clangd] Use raw rename functions to implement the rename.
Summary:
The API provided by refactoring lib doesn't provide enough flexibility
to get clangd's rename to behave as we expect. Instead, we replace it
with the low-level rename functions, which give us more control.

Bonus:
- performance, previously we visit the TU to find all occurrences,
  now we just visit top-level decls from main file;
- fix a bug where we wrongly filter out the main file replacement due to the
  different relative/absolute file path;

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jfb, kadircet, cfe-commits

Tags: #clang

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

llvm-svn: 368429
2019-08-09 10:55:22 +00:00
..
Inputs Revert "Revert r366458, r366467 and r366468" 2019-07-19 10:18:52 +00:00
xpc
CMakeLists.txt [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00
background-index.test Revert "Revert r366458, r366467 and r366468" 2019-07-19 10:18:52 +00:00
code-action-request.test [clangd] Move the expandAuto tweak from global namespace into annoymous namespace. 2019-07-12 09:38:53 +00:00
compile-commands-path-in-initialize.test
completion-auto-trigger.test [clangd] Return empty results on spurious completion triggers 2019-06-07 16:24:38 +00:00
completion-snippets.test
completion.test
crash-non-added-files.test
delimited-input-comment-at-the-end.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
diagnostic-category.test
diagnostics-no-tidy.test [clangd] Fix a crash when clang-tidy is disabled 2019-06-04 07:19:11 +00:00
diagnostics-notes.test
diagnostics.test
did-change-configuration-params.test
execute-command.test
exit-with-shutdown.test
exit-without-shutdown.test
filestatus.test
fixits-codeaction.test
fixits-command.test [clangd] Add a callback mechanism for handling responses from client. 2019-08-05 12:48:09 +00:00
fixits-embed-in-diagnostic.test
formatting.test [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
hover.test [clangd] Introduce a structured hover response 2019-05-28 10:29:58 +00:00
index-tools.test
initialize-params-invalid.test
initialize-params.test [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
initialize-sequence.test
input-mirror.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
lit.cfg.py [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00
lit.local.cfg
lit.site.cfg.py.in [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00
log.test [clangd] Also accept flags from CLANGD_FLAGS variable. 2019-07-25 07:54:48 +00:00
protocol.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
references.test
rename.test [clangd] Use raw rename functions to implement the rename. 2019-08-09 10:55:22 +00:00
request-reply.test [clangd] Add a callback mechanism for handling responses from client. 2019-08-05 12:48:09 +00:00
semantic-highlighting.test [clangd] Added semantic highlighting support for primitives. 2019-08-08 13:10:30 +00:00
signature-help-with-offsets.test [clangd] Support offsets for parameters in signatureHelp 2019-06-04 09:36:59 +00:00
signature-help.test
spaces-in-delimited-input.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
symbol-info.test
symbols.test
system-include-extractor.test [clangd] Handle windows line endings in QueryDriver 2019-07-19 09:08:22 +00:00
target_info.test [clangd] Disable failing unittest on non-x86 platforms 2019-06-26 11:52:20 +00:00
test-uri-posix.test
test-uri-windows.test
textdocument-didchange-fail.test
too_large.test [clangd] Rename -run-synchronously to -sync 2019-05-28 09:20:57 +00:00
trace.test
tweaks-format.test
type-hierarchy.test [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00
unsupported-method.test
utf8.test
xrefs.test