mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 20:20:54 +00:00
Remove unused parameter, followup to r179639. No behavior change.
llvm-svn: 226128
This commit is contained in:
parent
2b5a4fbc30
commit
8afb37e1a1
@ -27,7 +27,6 @@ namespace clang {
|
||||
class CoverageSourceInfo;
|
||||
class LangOptions;
|
||||
class CodeGenOptions;
|
||||
class TargetOptions;
|
||||
class Decl;
|
||||
|
||||
class CodeGenerator : public ASTConsumer {
|
||||
@ -44,7 +43,6 @@ namespace clang {
|
||||
CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
||||
const std::string &ModuleName,
|
||||
const CodeGenOptions &CGO,
|
||||
const TargetOptions &TO,
|
||||
llvm::LLVMContext& C,
|
||||
CoverageSourceInfo *CoverageInfo = nullptr);
|
||||
}
|
||||
|
@ -66,8 +66,7 @@ namespace clang {
|
||||
: Diags(_Diags), Action(action), CodeGenOpts(compopts),
|
||||
TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS),
|
||||
Context(nullptr), LLVMIRGeneration("LLVM IR Generation Time"),
|
||||
Gen(CreateLLVMCodeGen(Diags, infile, compopts,
|
||||
targetopts, C, CoverageInfo)),
|
||||
Gen(CreateLLVMCodeGen(Diags, infile, compopts, C, CoverageInfo)),
|
||||
LinkModule(LinkModule) {
|
||||
llvm::TimePassesIsEnabled = TimePasses;
|
||||
}
|
||||
|
@ -238,7 +238,6 @@ void CodeGenerator::anchor() { }
|
||||
CodeGenerator *clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
||||
const std::string& ModuleName,
|
||||
const CodeGenOptions &CGO,
|
||||
const TargetOptions &/*TO*/,
|
||||
llvm::LLVMContext& C,
|
||||
CoverageSourceInfo *CoverageInfo) {
|
||||
return new CodeGeneratorImpl(Diags, ModuleName, CGO, C, CoverageInfo);
|
||||
|
@ -63,7 +63,6 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) {
|
||||
compiler.getDiagnostics(),
|
||||
"EmitCXXGlobalInitFuncTest",
|
||||
compiler.getCodeGenOpts(),
|
||||
compiler.getTargetOpts(),
|
||||
llvm::getGlobalContext())));
|
||||
|
||||
compiler.createSema(clang::TU_Prefix,NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user