clang API Documentation

Public Member Functions
clang::tooling::ToolAction Class Reference

Interface to process a clang::CompilerInvocation. More...

#include <Tooling.h>

Inheritance diagram for clang::tooling::ToolAction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~ToolAction ()
virtual bool runInvocation (clang::CompilerInvocation *Invocation, FileManager *Files, DiagnosticConsumer *DiagConsumer)=0
 Perform an action for an invocation.

Detailed Description

Interface to process a clang::CompilerInvocation.

If your tool is based on FrontendAction, you should be deriving from FrontendActionFactory instead.

Definition at line 63 of file Tooling.h.


Constructor & Destructor Documentation

Definition at line 46 of file Tooling.cpp.


Member Function Documentation

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.


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