[all-commits] [llvm/llvm-project] 615673: [Preamble] Invalidate preamble when missing header...
Sam McCall via All-commits
all-commits at lists.llvm.org
Mon Jun 8 05:15:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 615673f3a10e98f33e2db64512be0452145236fe
https://github.com/llvm/llvm-project/commit/615673f3a10e98f33e2db64512be0452145236fe
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
M clang/include/clang/Frontend/PrecompiledPreamble.h
M clang/lib/Frontend/PrecompiledPreamble.cpp
Log Message:
-----------
[Preamble] Invalidate preamble when missing headers become present.
Summary:
To avoid excessive extra stat()s, only check the possible locations of
headers that weren't found at all (leading to a compile error).
For headers that *were* found, we don't check for files earlier on the
search path that could override them.
Reviewers: kadircet
Subscribers: javed.absar, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D77942
More information about the All-commits
mailing list