[all-commits] [llvm/llvm-project] 808c28: [clangd] Add tests that no-op changes are cheap
Sam McCall via All-commits
all-commits at lists.llvm.org
Tue Apr 14 07:16:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 808c2855e11615a384df9667338aa52854a92fd5
https://github.com/llvm/llvm-project/commit/808c2855e11615a384df9667338aa52854a92fd5
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/ClangdServer.h
M clang-tools-extra/clangd/TUScheduler.cpp
M clang-tools-extra/clangd/TUScheduler.h
M clang-tools-extra/clangd/unittests/ClangdTests.cpp
M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Log Message:
-----------
[clangd] Add tests that no-op changes are cheap
Summary:
We want to be sure they don't cause AST rebuilds or evict items from the cache.
D77847 is going to start sending spurious no-op changes (in case the preamble
was invalidated), this is cheap enough but we shouldn't regress that in future.
Reviewers: kadircet
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, jfb, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78048
More information about the All-commits
mailing list