class SimpleFrontendActionFactory
Declaration
class SimpleFrontendActionFactory : public FrontendActionFactory { /* full declaration omitted */ };
Description
Interface to generate clang::FrontendActions. Having a factory interface allows, for example, a new FrontendAction to be created for each translation unit processed by ClangTool. This class is also a ToolAction which uses the FrontendActions created by create() to process each translation unit.
Declared at: clang/include/clang/Tooling/Tooling.h:404
Inherits from: FrontendActionFactory
Method Overview
- public std::unique_ptr<FrontendAction> create()
Inherited from FrontendActionFactory:
Inherited from ToolAction:
Methods
ΒΆstd::unique_ptr<FrontendAction> create()
std::unique_ptr<FrontendAction> create()
Description
Returns a new clang::FrontendAction.
Declared at: clang/include/clang/Tooling/Tooling.h:406