clang 20.0.0git
|
#include "Transforms.h"
#include "Internals.h"
#include "clang/ARCMigrate/ARCMT.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/Analysis/DomainSpecific/CocoaConventions.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaObjC.h"
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 |
Definition at line 517 of file Transforms.cpp.
References clang::arcmt::MigrationPass::Ctx, clang::DeclContext::decls_begin(), clang::DeclContext::decls_end(), E, 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(), I, clang::ASTContext::Idents, clang::arcmt::TransformActions::insert(), clang::arcmt::TransformActions::insertAfterToken(), clang::Invalid, clang::ASTContext::Selectors, SM, and clang::arcmt::MigrationPass::TA.
Referenced by clang::arcmt::getAllTransformations().
|
static |
Definition at line 571 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 |
Definition at line 557 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().