diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-05-06 10:25:10 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-05-06 10:25:10 +0000 |
commit | 9fb22b2c8660e75844b50b086227eecc8ee9fb13 (patch) | |
tree | 56eee21a421fe7317445a2fe773cdc2df3c99978 /llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | |
parent | 4c3d579096b5fdfcb0170b869e68e0969366c580 (diff) | |
download | bcm5719-llvm-9fb22b2c8660e75844b50b086227eecc8ee9fb13.tar.gz bcm5719-llvm-9fb22b2c8660e75844b50b086227eecc8ee9fb13.zip |
[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
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions