diff options
author | Cyndy Ishida <cyndy_ishida@apple.com> | 2025-05-12 17:15:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-12 17:15:37 -0700 |
commit | e9534873800f78fc1bf4dfa643c55dc8bb4129c8 (patch) | |
tree | e0091e02278917625af33bff616b78a6f44b634a /clang/lib/Serialization/ModuleManager.cpp | |
parent | e039d16ee5910d71a1a16e8ab918ceb849b64073 (diff) | |
download | llvm-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.cpp | 6 |
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; } |