clang  6.0.0svn
Public Member Functions | List of all members
clang::tooling::ToolAction Class Referenceabstract

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

#include "clang/Tooling/Tooling.h"

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

Public Member Functions

virtual ~ToolAction ()
 
virtual bool runInvocation (std::shared_ptr< clang::CompilerInvocation > Invocation, FileManager *Files, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagConsumer)=0
 Perform an action for an invocation. More...
 

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 66 of file Tooling.h.

Constructor & Destructor Documentation

◆ ~ToolAction()

clang::tooling::ToolAction::~ToolAction ( )
virtual

Definition at line 45 of file Tooling.cpp.

Member Function Documentation

◆ runInvocation()

virtual bool clang::tooling::ToolAction::runInvocation ( std::shared_ptr< clang::CompilerInvocation Invocation,
FileManager Files,
std::shared_ptr< PCHContainerOperations PCHContainerOps,
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: