clang  6.0.0svn
Classes | Namespaces | Typedefs | Functions
ARCMT.h File Reference
#include "clang/ARCMigrate/FileRemapper.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Frontend/CompilerInvocation.h"
Include dependency graph for ARCMT.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::arcmt::MigrationProcess
 
class  clang::arcmt::MigrationProcess::RewriteListener
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::arcmt
 

Typedefs

typedef void(* clang::arcmt::TransformFn) (MigrationPass &pass)
 

Functions

bool clang::arcmt::checkForManualIssues (CompilerInvocation &CI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient, bool emitPremigrationARCErrors=false, StringRef plistOut=StringRef())
 Creates an AST with the provided CompilerInvocation but with these changes: -if a PCH/PTH is set, the original header is used instead -Automatic Reference Counting mode is enabled. More...
 
bool clang::arcmt::applyTransformations (CompilerInvocation &origCI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient)
 Works similar to checkForManualIssues but instead of checking, it applies automatic modifications to source files to conform to ARC. More...
 
bool clang::arcmt::migrateWithTemporaryFiles (CompilerInvocation &origCI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient, StringRef outputDir, bool emitPremigrationARCErrors, StringRef plistOut)
 Applies automatic modifications and produces temporary files and metadata into the outputDir path. More...
 
bool clang::arcmt::getFileRemappings (std::vector< std::pair< std::string, std::string > > &remap, StringRef outputDir, DiagnosticConsumer *DiagClient)
 Get the set of file remappings from the outputDir path that migrateWithTemporaryFiles produced. More...
 
bool clang::arcmt::getFileRemappingsFromFileList (std::vector< std::pair< std::string, std::string > > &remap, ArrayRef< StringRef > remapFiles, DiagnosticConsumer *DiagClient)
 Get the set of file remappings from a list of files with remapping info. More...
 
std::vector< TransformFn > clang::arcmt::getAllTransformations (LangOptions::GCMode OrigGCMode, bool NoFinalizeRemoval)