clang 20.0.0git
|
Interface for factories that create specific executors. More...
#include "clang/Tooling/Execution.h"
Public Member Functions | |
virtual | ~ToolExecutorPlugin () |
virtual llvm::Expected< std::unique_ptr< ToolExecutor > > | create (CommonOptionsParser &OptionsParser)=0 |
Create an ToolExecutor . | |
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.
|
inlinevirtual |
Definition at line 153 of file Execution.h.
|
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.