Searched refs:toAttr (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
| D | TransGCAttrs.cpp | 268 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()
|
| D | TransProperties.cpp | 156 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()
|
| D | Transforms.cpp | 381 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()
|
| D | Transforms.h | 118 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,
|