Skip to content

Commit 7154893

Browse files
Merge pull request #11237 from swiftlang/jepa-stable
[stable/21.x] Revert "[Modules] Process include files changes (llvm#90319)"
2 parents 980e4c9 + 0f0cec4 commit 7154893

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
@@ -2862,14 +2862,6 @@ InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) {
28622862
F.StandardCXXModule && FileChange.Kind == Change::None)
28632863
FileChange = HasInputContentChanged(FileChange);
28642864

2865-
// When we have StoredTime equal to zero and ValidateASTInputFilesContent,
2866-
// it is better to check the content of the input files because we cannot rely
2867-
// on the file modification time, which will be the same (zero) for these
2868-
// files.
2869-
if (!StoredTime && ValidateASTInputFilesContent &&
2870-
FileChange.Kind == Change::None)
2871-
FileChange = HasInputContentChanged(FileChange);
2872-
28732865
// For an overridden file, there is nothing to validate.
28742866
if (!Overridden && FileChange.Kind != Change::None) {
28752867
if (Complain) {

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

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

0 commit comments

Comments
 (0)