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

/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp268 StringRef toAttr = "strong"; local
272 toAttr = "weak";
274 toAttr = "unsafe_unretained";
277 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc);
279 MigrateCtx.addPropertyAttribute(toAttr, AtLoc);
H A DTransProperties.cpp156 StringRef toAttr = "strong"; local
157 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc);
275 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, argument
277 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc);
H A DTransforms.cpp381 StringRef toAttr,
425 if (!toAttr.empty()) {
426 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr);
445 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
380 rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr, SourceLocation atLoc) argument
H A DTransforms.h118 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,

Completed in 201 milliseconds