clang API Documentation
Interface to process a clang::CompilerInvocation. More...
#include <Tooling.h>
Public Member Functions | |
virtual | ~ToolAction () |
virtual bool | runInvocation (clang::CompilerInvocation *Invocation, FileManager *Files, DiagnosticConsumer *DiagConsumer)=0 |
Perform an action for an invocation. |
Interface to process a clang::CompilerInvocation.
If your tool is based on FrontendAction, you should be deriving from FrontendActionFactory instead.
clang::tooling::ToolAction::~ToolAction | ( | ) | [virtual] |
Definition at line 46 of file Tooling.cpp.
virtual bool clang::tooling::ToolAction::runInvocation | ( | clang::CompilerInvocation * | Invocation, |
FileManager * | Files, | ||
DiagnosticConsumer * | DiagConsumer | ||
) | [pure virtual] |
Perform an action for an invocation.
Implemented in clang::tooling::FrontendActionFactory.