reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/ARCMigrate/TransAPIUses.cpp
   39     SelectorTable &sels = Pass.Ctx.Selectors;
   40     IdentifierTable &ids = Pass.Ctx.Idents;
  106   APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransARCAssign.cpp
   50       ASTContext &Ctx = Pass.Ctx;
   76   assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
   73     PoolII = &pass.Ctx.Idents.get("NSAutoreleasePool");
   74     DrainSel = pass.Ctx.Selectors.getNullarySelector(
   75                                                  &pass.Ctx.Idents.get("drain"));
  131               findLocationAfterSemi((*retI)->getEndLoc(), Pass.Ctx);
  309               findLocationAfterSemi(retS->getEndLoc(), Pass.Ctx).isValid()) {
  315         nameUsedOutsideScope = !NameReferenceChecker(Pass.Ctx, scope,
  433   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp
  139     bool useWeak = canApplyWeak(Pass.Ctx, var->getType());
  140     SourceManager &SM = Pass.Ctx.getSourceManager();
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
  170   ASTContext &getContext() { return Pass.Ctx; }
  175     if (EmptyChecker(Pass.Ctx, Pass.ARCMTMacroLocs).Visit(S)) {
  194   ASTContext &Ctx = pass.Ctx;
  198       Ctx.Selectors.getNullarySelector(&pass.Ctx.Idents.get("finalize"));
  241   EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
   95     ASTContext &Ctx = MigrateCtx.Pass.Ctx;
  172     SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager();
  204       if (!canApplyWeak(MigrateCtx.Pass.Ctx, Attr.ModifiedType,
  271       if (canApplyWeak(MigrateCtx.Pass.Ctx, IndProps.front()->getType(),
  286       Loc = MigrateCtx.Pass.Ctx.getSourceManager()
  326                                   MigrateCtx.Pass.Ctx.getTranslationUnitDecl());
  340     Attr.Loc.print(llvm::errs(), Pass.Ctx.getSourceManager());
tools/clang/lib/ARCMigrate/TransGCCalls.cpp
   29     IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents;
tools/clang/lib/ARCMigrate/TransProperties.cpp
  215     bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props),
  245     bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props),
tools/clang/lib/ARCMigrate/TransProtectedScope.cpp
  104       SM(Pass.Ctx.getSourceManager()) {
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
   48         Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate"));
   48         Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate"));
   50         Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
   50         Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
  157     if (hasSideEffects(rec, Pass.Ctx) || !tryRemoving(RecContainer))
  330     SourceManager &SM = Pass.Ctx.getSourceManager();
  332                                                      Pass.Ctx.getLangOpts());
  458   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
   70     SelfII = &Pass.Ctx.Idents.get("self");
  104     if (castExpr->isNullPointerConstant(Pass.Ctx,
  109     if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc))
  236         newCast += E->getType().getAsString(Pass.Ctx.getPrintingPolicy());
  254       SourceManager &SM = Pass.Ctx.getSourceManager();
  256       if (Lexer::isIdentifierBodyChar(PrevChar, Pass.Ctx.getLangOpts()))
  281     SourceManager &SM = Pass.Ctx.getSourceManager();
  314     if (!hasSideEffects(E, Pass.Ctx)) {
  339                                                     Pass.Ctx.getSourceManager(),
  340                                                     Pass.Ctx.getLangOpts());
  364       err += E->getType().getAsString(Pass.Ctx.getPrintingPolicy());
  379         note += E->getSubExpr()->getType().getAsString(Pass.Ctx.getPrintingPolicy());
  465   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp
   76   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp
   39         Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
   39         Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
   43     ASTContext &Ctx = Pass.Ctx;
  214     if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull))
  225   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/Transforms.cpp
  367       T = Pass.Ctx.getBaseElementType(T);
  385   SourceManager &SM = Pass.Ctx.getSourceManager();
  400               Pass.Ctx.getLangOpts(),
  466   SourceManager &SM = Pass.Ctx.getSourceManager();
  481               Pass.Ctx.getLangOpts(),
  518   ASTContext &Ctx = pass.Ctx;
  522    Ctx.Selectors.getNullarySelector(&pass.Ctx.Idents.get("finalize"));
  538         const SourceManager &SM = pass.Ctx.getSourceManager();
  539         const LangOptions &LangOpts = pass.Ctx.getLangOpts();
  568   MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl());