clang 20.0.0git
Functions
ARCMT.cpp File Reference
#include "clang/ARCMigrate/ARCMT.h"
#include "Internals.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/Basic/DiagnosticCategories.h"
#include "clang/Frontend/ASTUnit.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Frontend/TextDiagnosticPrinter.h"
#include "clang/Frontend/Utils.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Rewrite/Core/Rewriter.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "clang/Serialization/ASTReader.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TargetParser/Triple.h"
#include <utility>

Go to the source code of this file.

Functions

static bool HasARCRuntime (CompilerInvocation &origCI)
 
static CompilerInvocationcreateInvocationForMigration (CompilerInvocation &origCI, const PCHContainerReader &PCHContainerRdr)
 
static void emitPremigrationErrors (const CapturedDiagList &arcDiags, DiagnosticOptions *diagOpts, Preprocessor &PP)
 
static bool applyTransforms (CompilerInvocation &origCI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient, StringRef outputDir, bool emitPremigrationARCErrors, StringRef plistOut)
 

Function Documentation

◆ applyTransforms()

static bool applyTransforms ( CompilerInvocation origCI,
const FrontendInputFile Input,
std::shared_ptr< PCHContainerOperations PCHContainerOps,
DiagnosticConsumer DiagClient,
StringRef  outputDir,
bool  emitPremigrationARCErrors,
StringRef  plistOut 
)
static

◆ createInvocationForMigration()

static CompilerInvocation * createInvocationForMigration ( CompilerInvocation origCI,
const PCHContainerReader PCHContainerRdr 
)
static

◆ emitPremigrationErrors()

static void emitPremigrationErrors ( const CapturedDiagList arcDiags,
DiagnosticOptions diagOpts,
Preprocessor PP 
)
static

◆ HasARCRuntime()

static bool HasARCRuntime ( CompilerInvocation origCI)
static