Searched refs:toAttr (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 272 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()
|
D | TransProperties.cpp | 158 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()
|
D | Transforms.cpp | 385 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()
|
D | Transforms.h | 119 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,
|