Searched defs:toAttr (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp274 StringRef toAttr = "strong"; local
278 toAttr = "weak";
280 toAttr = "unsafe_unretained";
283 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc);
285 MigrateCtx.addPropertyAttribute(toAttr, AtLoc);
H A DTransProperties.cpp167 StringRef toAttr = "strong"; local
168 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc);
295 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, argument
297 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc);
H A DTransforms.cpp389 StringRef toAttr,
433 if (!toAttr.empty()) {
434 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr);
453 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
388 rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr, SourceLocation atLoc) argument

Completed in 2346 milliseconds