aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2019-04-08 14:53:16 +0000
committerEric Liu <ioeric@google.com>2019-04-08 14:53:16 +0000
commitdd028259374fa17a1529a9080528046f4c74295c (patch)
treec09d3e853e43582ab9d5fdcd4fdafa8ae813ba61 /llvm/tools/llvm-objdump
parentc70d38e997b6857ec960bd08532539882f5ab49d (diff)
downloadllvm-dd028259374fa17a1529a9080528046f4c74295c.zip
llvm-dd028259374fa17a1529a9080528046f4c74295c.tar.gz
llvm-dd028259374fa17a1529a9080528046f4c74295c.tar.bz2
[clangd] Add fallback mode for code completion when compile command or preamble is not ready.
Summary: When calling TUScehduler::runWithPreamble (e.g. in code compleiton), allow entering a fallback mode when compile command or preamble is not ready, instead of waiting. This allows clangd to perform naive code completion e.g. using identifiers in the current file or symbols in the index. This patch simply returns empty result for code completion in fallback mode. Identifier-based plus more advanced index-based completion will be added in followup patches. Reviewers: ilya-biryukov, sammccall Reviewed By: sammccall Subscribers: sammccall, javed.absar, MaskRay, jkorous, arphaman, kadircet, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D59811 llvm-svn: 357916
Diffstat (limited to 'llvm/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions