ΒΆbool applyTransformations(
    clang::CompilerInvocation& origCI,
    const clang::FrontendInputFile& Input,
    std::shared_ptr<PCHContainerOperations>
        PCHContainerOps,
    clang::DiagnosticConsumer* DiagClient)

Description

Works similar to checkForManualIssues but instead of checking, it applies automatic modifications to source files to conform to ARC.

Declared at: clang/include/clang/ARCMigrate/ARCMT.h:52

Parameters

clang::CompilerInvocation& origCI
const clang::FrontendInputFile& Input
std::shared_ptr<PCHContainerOperations> PCHContainerOps
clang::DiagnosticConsumer* DiagClient

Returns

false if no error is produced, true otherwise.