diff options
Diffstat (limited to 'lib/ARCMigrate/Transforms.h')
-rw-r--r-- | lib/ARCMigrate/Transforms.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ARCMigrate/Transforms.h b/lib/ARCMigrate/Transforms.h index 8c09a4757c..84912bcd26 100644 --- a/lib/ARCMigrate/Transforms.h +++ b/lib/ARCMigrate/Transforms.h @@ -113,8 +113,12 @@ public: } bool isGCOwnedNonObjC(QualType T); + bool removePropertyAttribute(StringRef fromAttr, SourceLocation atLoc) { + return rewritePropertyAttribute(fromAttr, StringRef(), atLoc); + } bool rewritePropertyAttribute(StringRef fromAttr, StringRef toAttr, SourceLocation atLoc); + bool addPropertyAttribute(StringRef attr, SourceLocation atLoc); void traverse(TranslationUnitDecl *TU); |