diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-06-29 14:18:26 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-06-29 14:18:26 +0000 |
commit | c416cf246dff9ab857956c210eefd5690054f818 (patch) | |
tree | d5e74eacc2246045ba38c1eddda80d0df82819d7 /include | |
parent | e3c11765ca248ea8e62227e52e53aa1ec8983a52 (diff) |
Fix NSAPI constants to reflect the current state of
NSStringMethodKind/NSDictionaryMethodKind enums
Patch by Vladimir Voskresensky!
Differential Revision: https://reviews.llvm.org/D34766
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/NSAPI.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/NSAPI.h b/include/clang/AST/NSAPI.h index 583f9d9f1d..3757116e7c 100644 --- a/include/clang/AST/NSAPI.h +++ b/include/clang/AST/NSAPI.h @@ -49,7 +49,7 @@ public: NSStr_initWithString, NSStr_initWithUTF8String }; - static const unsigned NumNSStringMethods = 5; + static const unsigned NumNSStringMethods = 6; IdentifierInfo *getNSClassId(NSClassIdKindKind K) const; @@ -112,7 +112,7 @@ public: NSMutableDict_setObjectForKeyedSubscript, NSMutableDict_setValueForKey }; - static const unsigned NumNSDictionaryMethods = 14; + static const unsigned NumNSDictionaryMethods = 13; /// \brief The Objective-C NSDictionary selectors. Selector getNSDictionarySelector(NSDictionaryMethodKind MK) const; |