================ @@ -113,7 +120,7 @@ class EmitAssemblyHelper { const CodeGenOptions &CodeGenOpts; const clang::TargetOptions &TargetOpts; const LangOptions &LangOpts; - Module *TheModule; + llvm::Module *TheModule; ---------------- lamb-j wrote:
When including the new BackendConsumer.h header file to BackendUtils.cpp, we were indirectly including another header several layers deep that had defined clang::Module. Previously this file had no references to clang::Module via any includes, but with the new include we were getting an "ambiguous reference to Module" error. This was fixed by specifying which Module class we were using in this file. I don't remember exactly which nested include referenced clang::Module, I could track down the include path again if it's helpful though. https://github.com/llvm/llvm-project/pull/69371 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits