Author: arphaman Date: Thu Jun 29 07:18:26 2017 New Revision: 306680 URL: http://llvm.org/viewvc/llvm-project?rev=306680&view=rev Log: Fix NSAPI constants to reflect the current state of NSStringMethodKind/NSDictionaryMethodKind enums
Patch by Vladimir Voskresensky! Differential Revision: https://reviews.llvm.org/D34766 Modified: cfe/trunk/include/clang/AST/NSAPI.h Modified: cfe/trunk/include/clang/AST/NSAPI.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/NSAPI.h?rev=306680&r1=306679&r2=306680&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/NSAPI.h (original) +++ cfe/trunk/include/clang/AST/NSAPI.h Thu Jun 29 07:18:26 2017 @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits