[clang] update diagnostic to say 'modification time' instead of mtime, NFC (#139637)
This commit is contained in:
parent
e039d16ee5
commit
e953487380
@ -124,9 +124,9 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type,
|
|||||||
// Note: ExpectedSize and ExpectedModTime will be 0 for MK_ImplicitModule
|
// Note: ExpectedSize and ExpectedModTime will be 0 for MK_ImplicitModule
|
||||||
// when using an ASTFileSignature.
|
// when using an ASTFileSignature.
|
||||||
if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) {
|
if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) {
|
||||||
ErrorStr = IgnoreModTime
|
ErrorStr = IgnoreModTime ? "module file has a different size than expected"
|
||||||
? "module file has a different size than expected"
|
: "module file has a different size or "
|
||||||
: "module file has a different size or mtime than expected";
|
"modification time than expected";
|
||||||
return OutOfDate;
|
return OutOfDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user