class ToolExecutorPlugin

Declaration

class ToolExecutorPlugin { /* full declaration omitted */ };

Description

Interface for factories that create specific executors. This is also used as a plugin to be registered into ToolExecutorPluginRegistry.

Declared at: clang/include/clang/Tooling/Execution.h:151

Method Overview

  • public virtual llvm::Expected<std::unique_ptr<ToolExecutor>> create(clang::tooling::CommonOptionsParser & OptionsParser)
  • public virtual ~ToolExecutorPlugin()

Methods

virtual llvm::Expected<
    std::unique_ptr<ToolExecutor>>
create(clang::tooling::CommonOptionsParser&
           OptionsParser)

Description

Create an `ToolExecutor`. `OptionsParser` can be consumed (e.g. moved) if the creation succeeds.

Declared at: clang/include/clang/Tooling/Execution.h:159

Parameters

clang::tooling::CommonOptionsParser& OptionsParser

virtual ~ToolExecutorPlugin()

Declared at: clang/include/clang/Tooling/Execution.h:153