[clang] [Modules] Enrich diags for out of date module dependencies (PR #190203)
Qiongsi Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 13:23:44 PDT 2026
================
@@ -132,24 +133,31 @@ ModuleManager::AddModuleResult ModuleManager::addModule(
std::optional<ModuleFileKey> FileKey = FileName.makeKey(FileMgr);
if (!FileKey) {
- ErrorStr = "module file not found";
- return Missing;
+ Result.K = AddModuleResult::Missing;
+ return Result;
}
- // Check whether we already loaded this module, before
+ // Check whether we already loaded this module before.
+ // Note: `isModuleFileOutOfDate` and `checkSignature` are mutally exclusive in
----------------
qiongsiwu wrote:
Nit: probably a typo? `mutally` -> `mutually`.
https://github.com/llvm/llvm-project/pull/190203
More information about the cfe-commits
mailing list