[clang] [Modules] No transitive source location change (PR #86912)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 09:26:20 PDT 2024


================
@@ -4082,14 +4069,14 @@ void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const {
                           : ModuleMgr.lookupByFileName(Name));
     if (!OM) {
       std::string Msg =
-          "SourceLocation remap refers to unknown module, cannot find ";
+          "cannot find module ";
----------------
jansvoboda11 wrote:

Would be good to keep some context in the error message, maybe remove just the `"SourceLocation"` part and leave the rest as it was?

https://github.com/llvm/llvm-project/pull/86912


More information about the cfe-commits mailing list