clang API Documentation

Public Member Functions | Protected Member Functions
clang::arcmt::MigrateAction Class Reference

#include <ARCMTActions.h>

Inheritance diagram for clang::arcmt::MigrateAction:
Inheritance graph
[legend]
Collaboration diagram for clang::arcmt::MigrateAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MigrateAction (FrontendAction *WrappedAction, StringRef migrateDir, StringRef plistOut, bool emitPremigrationARCErrors)

Protected Member Functions

bool BeginInvocation (CompilerInstance &CI) override
 Callback before starting processing a single input, giving the opportunity to modify the CompilerInvocation or do some other action before BeginSourceFileAction is called.

Detailed Description

Definition at line 44 of file ARCMTActions.h.


Constructor & Destructor Documentation

MigrateAction::MigrateAction ( FrontendAction WrappedAction,
StringRef  migrateDir,
StringRef  plistOut,
bool  emitPremigrationARCErrors 
)

Definition at line 52 of file ARCMTActions.cpp.


Member Function Documentation

bool MigrateAction::BeginInvocation ( CompilerInstance CI) [override, protected, virtual]

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

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

Reimplemented from clang::WrapperFrontendAction.

Definition at line 38 of file ARCMTActions.cpp.

References clang::DiagnosticsEngine::getClient(), clang::FrontendAction::getCurrentInput(), clang::CompilerInstance::getDiagnostics(), clang::CompilerInstance::getInvocation(), clang::arcmt::migrateWithTemporaryFiles(), and clang::DiagnosticsEngine::setIgnoreAllWarnings().


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