Home
last modified time | relevance | path

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

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