mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Introduce pipeline execution context
This commit is contained in:
@@ -82,8 +82,9 @@ struct ImportModelFromCAnalysis {
|
||||
|
||||
std::vector<std::vector<pipeline::Kind *>> AcceptedKinds = {};
|
||||
|
||||
llvm::Error
|
||||
run(pipeline::Context &Ctx, std::string LocationToEdit, std::string CCode) {
|
||||
llvm::Error run(pipeline::ExecutionContext &Ctx,
|
||||
std::string LocationToEdit,
|
||||
std::string CCode) {
|
||||
enum ImportModelFromCOption TheOption;
|
||||
auto &Model = revng::getWritableModelFromContext(Ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user