|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/ARCMigrate/TransAPIUses.cpp 77 Pass.TA.report(parm->getBeginLoc(),
89 Pass.TA.hasDiagnostic(diag::err_unavailable,
93 Transaction Trans(Pass.TA);
94 Pass.TA.clearDiagnostic(diag::err_unavailable,
97 Pass.TA.replace(E->getSourceRange(), getNilString(Pass));
tools/clang/lib/ARCMigrate/TransARCAssign.cpp 56 Transaction Trans(Pass.TA);
57 if (Pass.TA.clearDiagnostic(diag::err_typecheck_arr_assign_enumeration,
61 Pass.TA.insert(TLoc.getBeginLoc(), "__strong ");
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp 112 Transaction Trans(Pass.TA);
115 Pass.TA.removeStmt(info.Dcl);
126 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
127 Pass.TA.removeStmt(*scope.End);
135 Pass.TA.insertAfterToken(afterSemi, "\n}");
136 Pass.TA.increaseIndentation(
141 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
142 Pass.TA.replaceStmt(*scope.End, "}");
143 Pass.TA.increaseIndentation(scope.getIndentedRange(),
157 Pass.TA.removeStmt(*relI);
219 Pass.TA.clearDiagnostic(diag::err_unavailable,
326 Pass.TA.reportError("a name is referenced outside the "
328 Pass.TA.reportNote("name declared here", declarationLoc);
329 Pass.TA.reportNote("intended @autoreleasepool scope begins here",
331 Pass.TA.reportNote("intended @autoreleasepool scope ends here",
tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp 141 Transaction Trans(Pass.TA);
142 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()),
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp 176 Transaction Trans(Pass.TA);
177 Pass.TA.removeStmt(S);
195 TransformActions &TA = pass.TA;
246 Transaction Trans(pass.TA);
247 pass.TA.remove(pass.ARCMTMacroLocs[i]);
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp 180 TransformActions &TA = MigrateCtx.Pass.TA;
196 TransformActions &TA = MigrateCtx.Pass.TA;
260 TransformActions &TA = MigrateCtx.Pass.TA;
tools/clang/lib/ARCMigrate/TransGCCalls.cpp 37 TransformActions &TA = MigrateCtx.Pass.TA;
tools/clang/lib/ARCMigrate/TransProperties.cpp 140 Transaction Trans(Pass.TA);
207 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership,
232 Pass.TA.insert(I->IvarD->getLocation(), toWhich);
236 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership,
257 Pass.TA.insert(I->IvarD->getLocation(),
261 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership,
265 Pass.TA.clearDiagnostic(
tools/clang/lib/ARCMigrate/TransProtectedScope.cpp 131 Transaction Trans(Pass.TA);
143 Pass.TA.clearDiagnostic(diag::err_switch_into_protected_scope, ErrLoc);
158 Pass.TA.clearDiagnostic(Diag.getID(), Diag.getLocation());
175 Pass.TA.insertAfterToken(info.SC->getColonLoc(), " {");
176 Pass.TA.insert(info.Range.getEnd(), "}\n");
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp 73 Pass.TA.reportError(
92 Pass.TA.reportError(err, rec->getBeginLoc());
101 Pass.TA.reportError(err, rec->getBeginLoc());
106 Pass.TA.reportError(
124 Transaction Trans(Pass.TA);
128 Pass.TA.replace(E->getSourceRange(), "self");
138 Transaction Trans(Pass.TA);
150 Pass.TA.replace(RecContainer->getSourceRange(), RecRange);
153 Pass.TA.insertAfterToken(RecRange.getEnd(), str);
158 Pass.TA.replace(RecContainer->getSourceRange(), RecRange);
389 Pass.TA.clearDiagnostic(diag::err_arc_illegal_explicit_message,
428 Pass.TA.removeStmt(E);
444 Pass.TA.replace(bopE->getSourceRange(), bopE->getRHS()->getSourceRange());
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp 200 Transaction Trans(Pass.TA);
206 TransformActions &TA = Pass.TA;
275 Transaction Trans(Pass.TA);
276 Pass.TA.replace(callE->getSourceRange(), callE->getArg(0)->getSourceRange());
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,
318 Pass.TA.replace(OuterRange, InnerRange);
328 Pass.TA.removeStmt(E);
369 Pass.TA.reportError(err, E->getBeginLoc(),
381 Pass.TA.reportNote(note, retS->getBeginLoc());
tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp 52 Pass.TA.hasDiagnostic(diag::err_arc_unused_init_message,
54 Transaction Trans(Pass.TA);
55 Pass.TA.clearDiagnostic(diag::err_arc_unused_init_message,
58 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = ");
61 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr);
tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp 44 TransformActions &TA = Pass.TA;
83 Transaction Trans(Pass.TA);
84 Pass.TA.removeStmt(POE);
92 Transaction Trans(Pass.TA);
93 Pass.TA.removeStmt(BOE);
tools/clang/lib/ARCMigrate/Transforms.cpp 425 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr);
447 Pass.TA.remove(SourceRange(BeforeTok.getLocation(),
450 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation()));
452 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc));
493 Pass.TA.insert(tok.getLocation(), std::string("(") + attr.str() + ") ");
499 Pass.TA.insert(tok.getLocation(), attr);
505 Pass.TA.insert(tok.getLocation(), std::string(attr) + ", ");
519 TransformActions &TA = pass.TA;