class SourceFileCallbacks

Declaration

class SourceFileCallbacks { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Tooling/Tooling.h:125

Method Overview

Methods

virtual bool handleBeginSource(
    clang::CompilerInstance& CI)

Description

Called before a source file is processed by a FrontEndAction.

Declared at: clang/include/clang/Tooling/Tooling.h:131

Parameters

clang::CompilerInstance& CI

virtual void handleEndSource()

Description

Called after a source file is processed by a FrontendAction.

Declared at: clang/include/clang/Tooling/Tooling.h:137

virtual ~SourceFileCallbacks()

Declared at: clang/include/clang/Tooling/Tooling.h:127