[clangd] Expose whether no-compile completion was used.
authorSam McCall <sam.mccall@gmail.com>
Mon, 6 May 2019 12:03:26 +0000 (12:03 +0000)
committerSam McCall <sam.mccall@gmail.com>
Mon, 6 May 2019 12:03:26 +0000 (12:03 +0000)
commit8940f468809686d9a02145846e46d906f0e0ba54
treeaec8e905c09843f7d3941411f0b5d664d7208ee4
parent4ce1c3c3ff6581db208e9802ff98e7c3fd581006
[clangd] Expose whether no-compile completion was used.

Summary: Embedding clients want to experiment with showing such results in e.g. a different color.

Reviewers: kadircet

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

Tags: #clang

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

llvm-svn: 360039
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/CodeComplete.h
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp