Home
last modified time | relevance | path

Searched refs:fromAttr (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/gnu/llvm/clang/lib/ARCMigrate/
DTransforms.h115 bool removePropertyAttribute(StringRef fromAttr, SourceLocation atLoc) { in removePropertyAttribute() argument
116 return rewritePropertyAttribute(fromAttr, StringRef(), atLoc); in removePropertyAttribute()
118 bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr,
DTransProperties.cpp271 bool removeAttribute(StringRef fromAttr, SourceLocation atLoc) const { in removeAttribute() argument
272 return MigrateCtx.removePropertyAttribute(fromAttr, atLoc); in removeAttribute()
275 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, in rewriteAttribute() argument
277 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc); in rewriteAttribute()
DTransforms.cpp378 bool MigrationContext::rewritePropertyAttribute(StringRef fromAttr, in rewritePropertyAttribute() argument
422 if (tok.getRawIdentifier() == fromAttr) { in rewritePropertyAttribute()
424 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr); in rewritePropertyAttribute()