diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-04-01 11:31:53 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2020-04-01 13:02:47 +0200 |
commit | 43aa04eb7a617ee75dfcbbe2d395b8208e66c0e0 (patch) | |
tree | c18b1305ded626c55a6834fe21f72727b7fb1ab0 /llvm/lib/Analysis/ScalarEvolutionExpander.cpp | |
parent | 84aa6cf1a9fe7c2d1c35b27ba6fbf1ee36a09a71 (diff) | |
download | llvm-43aa04eb7a617ee75dfcbbe2d395b8208e66c0e0.zip llvm-43aa04eb7a617ee75dfcbbe2d395b8208e66c0e0.tar.gz llvm-43aa04eb7a617ee75dfcbbe2d395b8208e66c0e0.tar.bz2 |
[clangd] Run semaCodeComplete only with a preamble
Summary:
It is used by code completion and signature help. Code completion
already uses a special no-compile mode for missing preambles, so this change is
a no-op for that.
As for signature help, it already blocks for a preamble and missing it implies
clang has failed to parse the preamble and retrying it in signature help likely
will fail again. And even if it doesn't, request latency will be too high to be
useful as parsing preambles is expensive.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D77204
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions