clang API Documentation
Callbacks called before and after each source file processed by a FrontendAction created by the FrontedActionFactory returned by newFrontendActionFactory
.
More...
#include <Tooling.h>
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. |
Callbacks called before and after each source file processed by a FrontendAction created by the FrontedActionFactory returned by newFrontendActionFactory
.
virtual clang::tooling::SourceFileCallbacks::~SourceFileCallbacks | ( | ) | [inline, virtual] |
virtual bool clang::tooling::SourceFileCallbacks::handleBeginSource | ( | CompilerInstance & | CI, |
StringRef | Filename | ||
) | [inline, virtual] |
Called before a source file is processed by a FrontEndAction.
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.
Definition at line 118 of file Tooling.h.
Referenced by clang::tooling::newFrontendActionFactory().