clang API Documentation
#include "Transforms.h"
#include "Internals.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Analysis/DomainSpecific/CocoaConventions.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Lex/Lexer.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringSwitch.h"
#include <map>
Go to the source code of this file.
Functions | |
static void | GCRewriteFinalize (MigrationPass &pass) |
static void | traverseAST (MigrationPass &pass) |
static void | independentTransforms (MigrationPass &pass) |
static void GCRewriteFinalize | ( | MigrationPass & | pass | ) | [static] |
Definition at line 526 of file Transforms.cpp.
References clang::arcmt::MigrationPass::Ctx, clang::DeclContext::decls_begin(), clang::DeclContext::decls_end(), clang::IdentifierTable::get(), clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::ASTContext::getLangOpts(), clang::SelectorTable::getNullarySelector(), clang::ASTContext::getSourceManager(), clang::ObjCMethodDecl::getSourceRange(), clang::Lexer::getSourceText(), clang::CharSourceRange::getTokenRange(), clang::ASTContext::getTranslationUnitDecl(), clang::ASTContext::Idents, clang::arcmt::TransformActions::insert(), clang::arcmt::TransformActions::insertAfterToken(), clang::ASTContext::Selectors, SM, and clang::arcmt::MigrationPass::TA.
Referenced by clang::arcmt::getAllTransformations().
static void independentTransforms | ( | MigrationPass & | pass | ) | [static] |
Definition at line 580 of file Transforms.cpp.
References clang::arcmt::trans::checkAPIUses(), clang::arcmt::trans::makeAssignARCSafe(), clang::arcmt::trans::removeRetainReleaseDeallocFinalize(), clang::arcmt::trans::removeZeroOutPropsInDeallocFinalize(), clang::arcmt::trans::rewriteAutoreleasePool(), clang::arcmt::trans::rewriteUnbridgedCasts(), clang::arcmt::trans::rewriteUnusedInitDelegate(), and traverseAST().
Referenced by clang::arcmt::getAllTransformations().
static void traverseAST | ( | MigrationPass & | pass | ) | [static] |
Definition at line 566 of file Transforms.cpp.
References clang::arcmt::trans::MigrationContext::addTraverser(), clang::arcmt::MigrationPass::Ctx, clang::ASTContext::getTranslationUnitDecl(), clang::arcmt::MigrationPass::isGCMigration(), and clang::arcmt::trans::MigrationContext::traverse().
Referenced by independentTransforms().