diff --git a/clang/lib/Serialization/ModuleManager.cpp b/clang/lib/Serialization/ModuleManager.cpp index 7f3f246bfb49e..fa9533b7efd78 100644 --- a/clang/lib/Serialization/ModuleManager.cpp +++ b/clang/lib/Serialization/ModuleManager.cpp @@ -124,9 +124,9 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type, // Note: ExpectedSize and ExpectedModTime will be 0 for MK_ImplicitModule // when using an ASTFileSignature. if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) { - ErrorStr = IgnoreModTime - ? "module file has a different size than expected" - : "module file has a different size or mtime than expected"; + ErrorStr = IgnoreModTime ? "module file has a different size than expected" + : "module file has a different size or " + "modification time than expected"; return OutOfDate; }