Skip to content

Commit e953487

Browse files
authored
[clang] update diagnostic to say 'modification time' instead of mtime, NFC (#139637)
1 parent e039d16 commit e953487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Serialization/ModuleManager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type,
124124
// Note: ExpectedSize and ExpectedModTime will be 0 for MK_ImplicitModule
125125
// when using an ASTFileSignature.
126126
if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) {
127-
ErrorStr = IgnoreModTime
128-
? "module file has a different size than expected"
129-
: "module file has a different size or mtime than expected";
127+
ErrorStr = IgnoreModTime ? "module file has a different size than expected"
128+
: "module file has a different size or "
129+
"modification time than expected";
130130
return OutOfDate;
131131
}
132132

0 commit comments

Comments
 (0)