[PATCH] D78048: [clangd] Add tests that no-op changes are cheap
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 13 13:35:03 PDT 2020
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, usaxena95, jfb, arphaman, jkorous, MaskRay, javed.absar, ilya-biryukov.
Herald added a project: clang.
sammccall updated this revision to Diff 257083.
sammccall added a comment.
format
We want to be sure they don't cause AST rebuilds or evict items from the cache.
D77847 <https://reviews.llvm.org/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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78048
Files:
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/unittests/ClangdTests.cpp
clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78048.257083.patch
Type: text/x-patch
Size: 12377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200413/ec52a44f/attachment-0001.bin>
More information about the cfe-commits
mailing list