clang API Documentation

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/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 dependency graph for ARCMT.cpp:

Go to the source code of this file.

Functions

static bool HasARCRuntime (CompilerInvocation &origCI)
static CompilerInvocationcreateInvocationForMigration (CompilerInvocation &origCI)
static void emitPremigrationErrors (const CapturedDiagList &arcDiags, DiagnosticOptions *diagOpts, Preprocessor &PP)
static bool applyTransforms (CompilerInvocation &origCI, const FrontendInputFile &Input, DiagnosticConsumer *DiagClient, StringRef outputDir, bool emitPremigrationARCErrors, StringRef plistOut)

Function Documentation

static bool applyTransforms ( CompilerInvocation origCI,
const FrontendInputFile Input,
DiagnosticConsumer DiagClient,
StringRef  outputDir,
bool  emitPremigrationARCErrors,
StringRef  plistOut 
) [static]
static void emitPremigrationErrors ( const CapturedDiagList arcDiags,
DiagnosticOptions diagOpts,
Preprocessor PP 
) [static]
static bool HasARCRuntime ( CompilerInvocation origCI) [static]