]> granicus.if.org Git - clang/commitdiff
Fix NSAPI constants to reflect the current state of
authorAlex Lorenz <arphaman@gmail.com>
Thu, 29 Jun 2017 14:18:26 +0000 (14:18 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 29 Jun 2017 14:18:26 +0000 (14:18 +0000)
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

include/clang/AST/NSAPI.h

index 583f9d9f1deb92451a26612c8a28297598105ea1..3757116e7c70e8f3e9a6a75467e2e703d042f47e 100644 (file)
@@ -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;