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

/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp269 StringRef toAttr = "strong"; local
273 toAttr = "weak";
275 toAttr = "unsafe_unretained";
278 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc);
280 MigrateCtx.addPropertyAttribute(toAttr, AtLoc);
H A DTransProperties.cpp157 StringRef toAttr = "strong"; local
158 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc);
276 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, argument
278 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc);
H A DTransforms.cpp380 StringRef toAttr,
424 if (!toAttr.empty()) {
425 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr);
444 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) {
379 rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr, SourceLocation atLoc) argument
H A DTransforms.h118 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,

Completed in 48 milliseconds