Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/
DTransGCAttrs.cpp268 StringRef toAttr = "strong"; in checkAllAtProps() local
272 toAttr = "weak"; in checkAllAtProps()
274 toAttr = "unsafe_unretained"; in checkAllAtProps()
277 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc); in checkAllAtProps()
279 MigrateCtx.addPropertyAttribute(toAttr, AtLoc); in checkAllAtProps()
DTransProperties.cpp156 StringRef toAttr = "strong"; in doPropAction() local
157 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc); in doPropAction()
275 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, in rewriteAttribute() argument
277 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc); in rewriteAttribute()
DTransforms.cpp381 StringRef toAttr, in rewritePropertyAttribute() argument
425 if (!toAttr.empty()) { in rewritePropertyAttribute()
426 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr); in rewritePropertyAttribute()
445 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute()
DTransforms.h118 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,