[clang] [CodeGen] Implement post-opt linking option for builtin bitocdes (PR #69371)
Jacob Lambert via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 9 10:33:33 PST 2023
================
@@ -113,7 +120,7 @@ class EmitAssemblyHelper {
const CodeGenOptions &CodeGenOpts;
const clang::TargetOptions &TargetOpts;
const LangOptions &LangOpts;
- Module *TheModule;
+ llvm::Module *TheModule;
----------------
lamb-j wrote:
Without the qualification, we get the following:
In file included from llvm-project/llvm/include/llvm/IR/ModuleSummaryIndex.h:28,
from llvm-project/clang/include/clang/CodeGen/BackendUtil.h:13,
from llvm-project/clang/lib/CodeGen/BackendUtil.cpp:9:
llvm-project/llvm/include/llvm/IR/Module.h:65:32: note: candidates are: ‘class llvm::Module’
65 | class LLVM_EXTERNAL_VISIBILITY Module {
| ^~~~~~
In file included from llvm-project/clang/include/clang/Lex/ModuleLoader.h:18,
from llvm-project/clang/include/clang/Frontend/ASTUnit.h:26,
from llvm-project/clang/include/clang/Frontend/FrontendAction.h:23,
from llvm-project/clang/include/clang/CodeGen/CodeGenAction.h:12,
from llvm-project/clang/lib/CodeGen/BackendConsumer.h:13,
from llvm-project/clang/lib/CodeGen/BackendUtil.cpp:10:
llvm-project/clang/include/clang/Basic/Module.h:105:18: note: ‘class clang::Module’
105 | class alignas(8) Module {
| ^~~~~~
https://github.com/llvm/llvm-project/pull/69371
More information about the cfe-commits
mailing list