llvm-project/clang-tools-extra/clangd/test
Sam McCall 9fb22b2c86 [clangd] Boost code completion results that were named in the last few lines.
Summary:
The hope is this will catch a few patterns with repetition:

  SomeClass* S = ^SomeClass::Create()

  int getFrobnicator() { return ^frobnicator_; }

  // discard the factory, it's no longer valid.
  ^MyFactory.reset();

Without triggering antipatterns too often:

  return Point(x.first, x.^second);

I'm going to gather some data on whether this turns out to be a win overall.

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

Tags: #clang

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

llvm-svn: 360030
2019-05-06 10:25:10 +00:00
..
Inputs
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
compile-commands-path-in-initialize.test
completion-auto-trigger.test [clangd] Boost code completion results that were named in the last few lines. 2019-05-06 10:25:10 +00:00
completion-snippets.test
completion.test
crash-non-added-files.test
delimited-input-comment-at-the-end.test
diagnostic-category.test
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
fixits-embed-in-diagnostic.test
formatting.test
hover.test
index-tools.test
initialize-params-invalid.test
initialize-params.test
initialize-sequence.test
input-mirror.test
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
protocol.test
references.test
rename.test
signature-help.test
spaces-in-delimited-input.test
symbol-info.test
symbols.test
test-uri-posix.test
test-uri-windows.test
textdocument-didchange-fail.test
too_large.test
trace.test
tweaks-format.test
type-hierarchy.test
unsupported-method.test
utf8.test
xrefs.test