clang 20.0.0git
Public Member Functions | List of all members
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 "clang/Tooling/Tooling.h"

Public Member Functions

virtual ~SourceFileCallbacks ()=default
 
virtual bool handleBeginSource (CompilerInstance &CI)
 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 125 of file Tooling.h.

Constructor & Destructor Documentation

◆ ~SourceFileCallbacks()

virtual clang::tooling::SourceFileCallbacks::~SourceFileCallbacks ( )
virtualdefault

Member Function Documentation

◆ handleBeginSource()

virtual bool clang::tooling::SourceFileCallbacks::handleBeginSource ( CompilerInstance CI)
inlinevirtual

Called before a source file is processed by a FrontEndAction.

See also
clang::FrontendAction::BeginSourceFileAction

Definition at line 131 of file Tooling.h.

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

◆ handleEndSource()

virtual void clang::tooling::SourceFileCallbacks::handleEndSource ( )
inlinevirtual

Called after a source file is processed by a FrontendAction.

See also
clang::FrontendAction::EndSourceFileAction

Definition at line 137 of file Tooling.h.

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


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