summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/MapVectorTest.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-03-02 08:56:37 +0000
committerSam McCall <sam.mccall@gmail.com>2018-03-02 08:56:37 +0000
commitd1e0deb271075abf08b7540b1ef1bc119f77c945 (patch)
tree4071d331f9a02eef73bbd254ed9742e69619d360 /llvm/unittests/ADT/MapVectorTest.cpp
parent97785af4644957a90e7ce238a7983d2cffd73d25 (diff)
downloadbcm5719-llvm-d1e0deb271075abf08b7540b1ef1bc119f77c945.tar.gz
bcm5719-llvm-d1e0deb271075abf08b7540b1ef1bc119f77c945.zip
[clangd] Debounce streams of updates.
Summary: Don't actually start building ASTs for new revisions until either: - 500ms have passed since the last revision, or - we actually need the revision for something (or to unblock the queue) In practice, this avoids the "first keystroke results in diagnostics" problem. This is kind of awkward to test, and the test is pretty bad. It can be observed nicely by capturing a trace, though. Reviewers: hokein, ilya-biryukov Subscribers: klimek, jkorous-apple, ioeric, cfe-commits Differential Revision: https://reviews.llvm.org/D43648 llvm-svn: 326546
Diffstat (limited to 'llvm/unittests/ADT/MapVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud