aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2020-12-19 01:55:26 +0100
committerSam McCall <sam.mccall@gmail.com>2020-12-19 02:03:40 +0100
commit2fced5a07b45ef527ac00a13e63bfca61e407ee3 (patch)
tree562431b4e8b885c1713fb4ffd81344ce28232b60 /llvm/lib/IR/ModuleSummaryIndex.cpp
parentffd982f7db58acf6653f987ca6411712feea25c3 (diff)
downloadllvm-2fced5a07b45ef527ac00a13e63bfca61e407ee3.zip
llvm-2fced5a07b45ef527ac00a13e63bfca61e407ee3.tar.gz
llvm-2fced5a07b45ef527ac00a13e63bfca61e407ee3.tar.bz2
[clangd] Don't cancel requests based on "updates" with same content
There's an unfortunate collision between two features: - we implicitly cancel certain requests when the file changes, to avoid the queue getting clogged building old revisions to service stale requests - we "reparse-if-needed" by synthesizing a file change, e.g. on didSave We could explicitly mark these synthetic requests to avoid this, but looking for changes in file content clutters our APIs less and is arguably the correct thing to do in any case. Fixes https://github.com/clangd/clangd/issues/620
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions