aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorCyndy Ishida <cyndy_ishida@apple.com>2025-05-12 17:15:37 -0700
committerGitHub <noreply@github.com>2025-05-12 17:15:37 -0700
commite9534873800f78fc1bf4dfa643c55dc8bb4129c8 (patch)
treee0091e02278917625af33bff616b78a6f44b634a /clang/lib/Serialization/ModuleManager.cpp
parente039d16ee5910d71a1a16e8ab918ceb849b64073 (diff)
downloadllvm-e9534873800f78fc1bf4dfa643c55dc8bb4129c8.zip
llvm-e9534873800f78fc1bf4dfa643c55dc8bb4129c8.tar.gz
llvm-e9534873800f78fc1bf4dfa643c55dc8bb4129c8.tar.bz2
[clang] update diagnostic to say 'modification time' instead of mtime, NFC (#139637)
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
-rw-r--r--clang/lib/Serialization/ModuleManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Serialization/ModuleManager.cpp b/clang/lib/Serialization/ModuleManager.cpp
index 7f3f246..fa9533b 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;
}