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

References

tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
   70     SelfII = &Pass.Ctx.Idents.get("self");
   83     UnbridgedCastRewriter(Pass).transformBody(D->getBody(), D);
  104     if (castExpr->isNullPointerConstant(Pass.Ctx,
  109     if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc))
  200     Transaction Trans(Pass.TA);
  206     TransformActions &TA = Pass.TA;
  228     if (Kind == OBC_Bridge || !Pass.CFBridgingFunctionsDefined()) {
  236         newCast += E->getType().getAsString(Pass.Ctx.getPrintingPolicy());
  254       SourceManager &SM = Pass.Ctx.getSourceManager();
  256       if (Lexer::isIdentifierBodyChar(PrevChar, Pass.Ctx.getLangOpts()))
  275     Transaction Trans(Pass.TA);
  276     Pass.TA.replace(callE->getSourceRange(), callE->getArg(0)->getSourceRange());
  281     SourceManager &SM = Pass.Ctx.getSourceManager();
  297     Transaction Trans(Pass.TA);
  298     Pass.TA.replace(OuterRange, InnerRange);
  299     Pass.TA.insert(InnerRange.getBegin(), "[");
  300     Pass.TA.insertAfterToken(InnerRange.getEnd(), " copy]");
  301     Pass.TA.clearDiagnostic(diag::err_arc_mismatched_cast,
  310     Transaction Trans(Pass.TA);
  311     Pass.TA.clearDiagnostic(diag::err_arc_mismatched_cast,
  314     if (!hasSideEffects(E, Pass.Ctx)) {
  318     Pass.TA.replace(OuterRange, InnerRange);
  328       Pass.TA.removeStmt(E);
  339                                                     Pass.Ctx.getSourceManager(),
  340                                                     Pass.Ctx.getLangOpts());
  364       err += E->getType().getAsString(Pass.Ctx.getPrintingPolicy());
  369       Pass.TA.reportError(err, E->getBeginLoc(),
  379         note += E->getSubExpr()->getType().getAsString(Pass.Ctx.getPrintingPolicy());
  381         Pass.TA.reportNote(note, retS->getBeginLoc());