ΒΆtemplate <typename T>
std::unique_ptr<FrontendActionFactory>
newFrontendActionFactory()

Description

Returns a new FrontendActionFactory for a given type. T must derive from clang::FrontendAction. Example: std::unique_ptr <FrontendActionFactory > Factory = newFrontendActionFactory <clang ::SyntaxOnlyAction>();

Declared at: clang/include/clang/Tooling/Tooling.h:120

Templates

T