[PATCH] D55994: [clangd] Check preceding char when completion triggers on ':' or '>'
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 21 03:46:20 PST 2018
ilya-biryukov created this revision.
ilya-biryukov added a reviewer: hokein.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay, ioeric.
Only run completion when we were trigerred on '->' and '::', otherwise
send an error code in return.
To avoid automatically invoking completions in cases like 'a >^' or
'a ? b :^'.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D55994
Files:
clangd/ClangdLSPServer.cpp
clangd/ClangdLSPServer.h
clangd/Protocol.cpp
clangd/Protocol.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55994.179261.patch
Type: text/x-patch
Size: 8221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181221/c2500f1c/attachment-0001.bin>
More information about the cfe-commits
mailing list