clang  6.0.0svn
Functions
ARCMT.cpp File Reference
#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/ADT/Triple.h"
#include "llvm/Support/MemoryBuffer.h"
#include <utility>
Include dependency graph for ARCMT.cpp:

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

Definition at line 341 of file ARCMT.cpp.

◆ 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