Searched refs:toAttr (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp272 StringRef toAttr = "strong"; local
276 toAttr = "weak";
278 toAttr = "unsafe_unretained";
281 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc);
283 MigrateCtx.addPropertyAttribute(toAttr, AtLoc);
H A DTransProperties.cpp158 StringRef toAttr = "strong"; local
159 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc);
277 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, argument
279 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc);
H A DTransforms.cpp385 StringRef toAttr,
429 if (!toAttr.empty()) {
430 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr);
449 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
384 rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr, SourceLocation atLoc) argument
H A DTransforms.h119 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,

Completed in 88 milliseconds