Skip to content

Commit ffe014a

Browse files
committed
Revert "[Modules] Process include files changes (llvm#90319)"
This reverts commit 9a9cff1, which combined with CAS (where every file has a 0 mtime), causes content validation to run on every input file.
1 parent be88cf9 commit ffe014a

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2671,14 +2671,6 @@ InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) {
26712671
F.StandardCXXModule && FileChange.Kind == Change::None)
26722672
FileChange = HasInputContentChanged(FileChange);
26732673

2674-
// When we have StoredTime equal to zero and ValidateASTInputFilesContent,
2675-
// it is better to check the content of the input files because we cannot rely
2676-
// on the file modification time, which will be the same (zero) for these
2677-
// files.
2678-
if (!StoredTime && ValidateASTInputFilesContent &&
2679-
FileChange.Kind == Change::None)
2680-
FileChange = HasInputContentChanged(FileChange);
2681-
26822674
// For an overridden file, there is nothing to validate.
26832675
if (!Overridden && FileChange.Kind != Change::None) {
26842676
if (Complain && !Diags.isDiagnosticInFlight()) {

clang/test/Modules/implicit-module-no-timestamp.cpp

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)