mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-05 04:38:37 +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 CoverageSourceInfo;
|
||||||
class LangOptions;
|
class LangOptions;
|
||||||
class CodeGenOptions;
|
class CodeGenOptions;
|
||||||
class TargetOptions;
|
|
||||||
class Decl;
|
class Decl;
|
||||||
|
|
||||||
class CodeGenerator : public ASTConsumer {
|
class CodeGenerator : public ASTConsumer {
|
||||||
@ -44,7 +43,6 @@ namespace clang {
|
|||||||
CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
||||||
const std::string &ModuleName,
|
const std::string &ModuleName,
|
||||||
const CodeGenOptions &CGO,
|
const CodeGenOptions &CGO,
|
||||||
const TargetOptions &TO,
|
|
||||||
llvm::LLVMContext& C,
|
llvm::LLVMContext& C,
|
||||||
CoverageSourceInfo *CoverageInfo = nullptr);
|
CoverageSourceInfo *CoverageInfo = nullptr);
|
||||||
}
|
}
|
||||||
|
@ -66,8 +66,7 @@ namespace clang {
|
|||||||
: Diags(_Diags), Action(action), CodeGenOpts(compopts),
|
: Diags(_Diags), Action(action), CodeGenOpts(compopts),
|
||||||
TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS),
|
TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS),
|
||||||
Context(nullptr), LLVMIRGeneration("LLVM IR Generation Time"),
|
Context(nullptr), LLVMIRGeneration("LLVM IR Generation Time"),
|
||||||
Gen(CreateLLVMCodeGen(Diags, infile, compopts,
|
Gen(CreateLLVMCodeGen(Diags, infile, compopts, C, CoverageInfo)),
|
||||||
targetopts, C, CoverageInfo)),
|
|
||||||
LinkModule(LinkModule) {
|
LinkModule(LinkModule) {
|
||||||
llvm::TimePassesIsEnabled = TimePasses;
|
llvm::TimePassesIsEnabled = TimePasses;
|
||||||
}
|
}
|
||||||
|
@ -238,7 +238,6 @@ void CodeGenerator::anchor() { }
|
|||||||
CodeGenerator *clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
CodeGenerator *clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags,
|
||||||
const std::string& ModuleName,
|
const std::string& ModuleName,
|
||||||
const CodeGenOptions &CGO,
|
const CodeGenOptions &CGO,
|
||||||
const TargetOptions &/*TO*/,
|
|
||||||
llvm::LLVMContext& C,
|
llvm::LLVMContext& C,
|
||||||
CoverageSourceInfo *CoverageInfo) {
|
CoverageSourceInfo *CoverageInfo) {
|
||||||
return new CodeGeneratorImpl(Diags, ModuleName, CGO, C, CoverageInfo);
|
return new CodeGeneratorImpl(Diags, ModuleName, CGO, C, CoverageInfo);
|
||||||
|
@ -63,7 +63,6 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) {
|
|||||||
compiler.getDiagnostics(),
|
compiler.getDiagnostics(),
|
||||||
"EmitCXXGlobalInitFuncTest",
|
"EmitCXXGlobalInitFuncTest",
|
||||||
compiler.getCodeGenOpts(),
|
compiler.getCodeGenOpts(),
|
||||||
compiler.getTargetOpts(),
|
|
||||||
llvm::getGlobalContext())));
|
llvm::getGlobalContext())));
|
||||||
|
|
||||||
compiler.createSema(clang::TU_Prefix,NULL);
|
compiler.createSema(clang::TU_Prefix,NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user