clang  6.0.0svn
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. More...
 

Detailed Description

Interface for factories that create specific executors.

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

Definition at line 140 of file Execution.h.

Constructor & Destructor Documentation

◆ ~ToolExecutorPlugin()

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

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::StandaloneToolExecutorPlugin.


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