clang 19.0.0git
Public Member Functions | List of all members
clang::tooling::ToolExecutorPlugin Class Referenceabstract

Interface for factories that create specific executors. More...

#include "clang/Tooling/Execution.h"

Inheritance diagram for clang::tooling::ToolExecutorPlugin:
Inheritance graph
[legend]

Public Member Functions

virtual ~ToolExecutorPlugin ()
 
virtual llvm::Expected< std::unique_ptr< ToolExecutor > > create (CommonOptionsParser &OptionsParser)=0
 Create an ToolExecutor.
 

Detailed Description

Interface for factories that create specific executors.

This is also used as a plugin to be registered into ToolExecutorPluginRegistry.

Definition at line 151 of file Execution.h.

Constructor & Destructor Documentation

◆ ~ToolExecutorPlugin()

virtual clang::tooling::ToolExecutorPlugin::~ToolExecutorPlugin ( )
inlinevirtual

Definition at line 153 of file Execution.h.

Member Function Documentation

◆ create()

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

Create an ToolExecutor.

OptionsParser can be consumed (e.g. moved) if the creation succeeds.

Implemented in clang::tooling::AllTUsToolExecutorPlugin, and clang::tooling::StandaloneToolExecutorPlugin.


The documentation for this class was generated from the following file: