Skip to content

Commit c87a20e

Browse files
authored
Merge pull request #9718 from bnbarham/temp-content-check-revert
Revert "[Modules] Process include files changes (llvm#90319)"
2 parents 86fd4f5 + ffe014a commit c87a20e

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)