diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-07-05 20:46:03 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-07-05 20:46:03 +0000 |
commit | afcb16f9cff8d5ccd57a6386d65ddc055368d0bc (patch) | |
tree | 2ebc1bbddfdaf2fc7f1c35e2e21d42dfb64f7dac /include/clang/Edit | |
parent | 514afc7255a2aaa88498b3374c944a2c497c1c55 (diff) |
[objc migrator]: More knobs to do migration to
use of objc's properties.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Edit')
-rw-r--r-- | include/clang/Edit/Rewriters.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Edit/Rewriters.h b/include/clang/Edit/Rewriters.h index 292878e756..cfb59dfa32 100644 --- a/include/clang/Edit/Rewriters.h +++ b/include/clang/Edit/Rewriters.h @@ -12,6 +12,7 @@ namespace clang { class ObjCMessageExpr; + class ObjCMethodDecl; class NSAPI; class ParentMap; @@ -24,6 +25,10 @@ bool rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg, bool rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit, const ParentMap *PMap); + +bool rewriteToObjCProperty(const ObjCMethodDecl *Getter, + const ObjCMethodDecl *Setter, + const NSAPI &NS, Commit &commit); bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit); |