clang API Documentation

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

Callbacks called before and after each source file processed by a FrontendAction created by the FrontedActionFactory returned by newFrontendActionFactory. More...

#include <Tooling.h>

List of all members.

Public Member Functions

virtual ~SourceFileCallbacks ()
virtual bool handleBeginSource (CompilerInstance &CI, StringRef Filename)
 Called before a source file is processed by a FrontEndAction.
virtual void handleEndSource ()
 Called after a source file is processed by a FrontendAction.

Detailed Description

Callbacks called before and after each source file processed by a FrontendAction created by the FrontedActionFactory returned by newFrontendActionFactory.

Definition at line 106 of file Tooling.h.


Constructor & Destructor Documentation

Definition at line 108 of file Tooling.h.


Member Function Documentation

virtual bool clang::tooling::SourceFileCallbacks::handleBeginSource ( CompilerInstance CI,
StringRef  Filename 
) [inline, virtual]

Called before a source file is processed by a FrontEndAction.

See also:
clang::FrontendAction::BeginSourceFileAction

Definition at line 112 of file Tooling.h.

Referenced by clang::tooling::newFrontendActionFactory().

virtual void clang::tooling::SourceFileCallbacks::handleEndSource ( ) [inline, virtual]

Called after a source file is processed by a FrontendAction.

See also:
clang::FrontendAction::EndSourceFileAction

Definition at line 118 of file Tooling.h.

Referenced by clang::tooling::newFrontendActionFactory().


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