diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-07-18 20:11:45 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-07-18 20:11:45 +0000 |
commit | bbbb0fe4f466d3163fcbf0a64ebf0f5868833efb (patch) | |
tree | cdacf09ed58fbb8723d1ba513316b2dea0339805 /include/clang/Edit | |
parent | 87f2cb5aec7b81ea6f6f9fbf6e14ef4f2de6dea6 (diff) |
ObjectiveC migration. migration to NS_ENUM/SN_OPTION
- wip.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Edit')
-rw-r--r-- | include/clang/Edit/Rewriters.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Edit/Rewriters.h b/include/clang/Edit/Rewriters.h index d7718c540b..ad7494f8f5 100644 --- a/include/clang/Edit/Rewriters.h +++ b/include/clang/Edit/Rewriters.h @@ -17,6 +17,8 @@ namespace clang { class ObjCInterfaceDecl; class ObjCProtocolDecl; class NSAPI; + class EnumDecl; + class TypedefDecl; class ParentMap; namespace edit { @@ -38,6 +40,10 @@ bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl, bool rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit); + +bool rewriteToNSEnumDecl(const EnumDecl *EnumDcl, + const TypedefDecl *TypedefDcl, + const NSAPI &NS, Commit &commit); } |