Searched refs:toAttr (Results 1 – 4 of 4) sorted by relevance
| /minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransGCAttrs.cpp | 274 StringRef toAttr = "strong"; in checkAllAtProps() local 278 toAttr = "weak"; in checkAllAtProps() 280 toAttr = "unsafe_unretained"; in checkAllAtProps() 283 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc); in checkAllAtProps() 285 MigrateCtx.addPropertyAttribute(toAttr, AtLoc); in checkAllAtProps()
|
| H A D | TransProperties.cpp | 167 StringRef toAttr = "strong"; in doPropAction() local 168 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc); in doPropAction() 295 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, in rewriteAttribute() argument 297 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc); in rewriteAttribute()
|
| H A D | Transforms.cpp | 389 StringRef toAttr, in rewritePropertyAttribute() argument 433 if (!toAttr.empty()) { in rewritePropertyAttribute() 434 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr); in rewritePropertyAttribute() 453 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute()
|
| H A D | Transforms.h | 119 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,
|