class FixItRecompile

Declaration

class FixItRecompile : public WrapperFrontendAction { /* full declaration omitted */ };

Description

Emits changes to temporary files and uses them for the original frontend action.

Declared at: clang/include/clang/Rewrite/Frontend/FrontendActions.h:50

Inherits from: WrapperFrontendAction

Member Variables

Inherited from WrapperFrontendAction:

protected WrappedAction

Method Overview

Inherited from WrapperFrontendAction:

Inherited from FrontendAction:

Methods

bool BeginInvocation(clang::CompilerInstance& CI)

Description

Callback before starting processing a single input, giving the opportunity to modify the CompilerInvocation or do some other action before BeginSourceFileAction is called.

Declared at: clang/include/clang/Rewrite/Frontend/FrontendActions.h:56

Parameters

clang::CompilerInstance& CI

Returns

True on success; on failure BeginSourceFileAction(), ExecuteAction() and EndSourceFileAction() will not be called.

FixItRecompile(
    std::unique_ptr<FrontendAction> WrappedAction)

Declared at: clang/include/clang/Rewrite/Frontend/FrontendActions.h:52

Parameters

std::unique_ptr<FrontendAction> WrappedAction