llvm-project/clang-tools-extra/unittests
Ilya Biryukov 6c5e99ed46 [clangd] Build index on preamble changes instead of the AST changes
Summary:
This is more efficient and avoids data races when reading files that
come from the preamble. The staleness can occur when reading a file
from disk that changed after the preamble was built. This can lead to
crashes, e.g. when parsing comments.

We do not to rely on symbols from the main file anyway, since any info
that those provide can always be taken from the AST.

Reviewers: ioeric, sammccall

Reviewed By: ioeric

Subscribers: malaperle, klimek, javed.absar, MaskRay, jkorous, cfe-commits

Differential Revision: https://reviews.llvm.org/D47272

llvm-svn: 333196
2018-05-24 15:50:15 +00:00
..
change-namespace [change-namespace] Don't match a function call/ref multiple times. 2018-03-15 14:45:02 +00:00
clang-apply-replacements [clang-apply-replacements] Convert tooling::Replacements to tooling::AtomicChange for conflict resolving of changes, code cleanup, and code formatting. 2018-04-11 14:39:17 +00:00
clang-move Trying to fix clang-move tests on windows build bot broken by r332717 2018-05-18 16:08:18 +00:00
clang-query [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-tidy Partially revert r331456: [clang-tidy] Remove AnalyzeTemporaryDtors option. 2018-05-08 23:15:58 +00:00
clangd [clangd] Build index on preamble changes instead of the AST changes 2018-05-24 15:50:15 +00:00
include/common Remove clang-modernize. 2015-12-17 11:49:19 +00:00
include-fixer Fix tests after changes to clang-format in r330573. 2018-04-23 11:47:59 +00:00
CMakeLists.txt [cmake] Include LLVMTestingSupport when doing stand-alone build 2018-04-09 17:08:14 +00:00