reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
17 class NSAPI;
26 const NSAPI &NS, Commit &commit); 29 const NSAPI &NS, Commit &commit, 33 const NSAPI &NS, Commit &commit);tools/clang/include/clang/Sema/Sema.h
920 std::unique_ptr<NSAPI> NSAPIObj; 935 ObjCMethodDecl *NSNumberLiteralMethods[NSAPI::NumNSNumberLiteralMethods];tools/clang/lib/ARCMigrate/ObjCMT.cpp
97 std::unique_ptr<NSAPI> NSAPIObj; 139 NSAPIObj.reset(new NSAPI(Context)); 244 const NSAPI &NS, edit::Commit &commit, 465 const NSAPI &NS, edit::Commit &commit, 675 const NSAPI &NS, edit::Commit &commit) { 718 const NSAPI &NS, edit::Commit &commit, 773 const NSAPI &NS, edit::Commit &commit,tools/clang/lib/AST/NSAPI.cpp
145 Optional<NSAPI::NSArrayMethodKind> NSAPI::getNSArrayMethodKind(Selector Sel) { 246 Optional<NSAPI::NSDictionaryMethodKind> 303 Optional<NSAPI::NSSetMethodKind> 366 Optional<NSAPI::NSNumberLiteralMethodKind> 377 Optional<NSAPI::NSNumberLiteralMethodKind> 387 return NSAPI::NSNumberWithBool; 389 return NSAPI::NSNumberWithInteger; 391 return NSAPI::NSNumberWithUnsignedInteger; 397 return NSAPI::NSNumberWithChar; 400 return NSAPI::NSNumberWithUnsignedChar; 402 return NSAPI::NSNumberWithShort; 404 return NSAPI::NSNumberWithUnsignedShort; 406 return NSAPI::NSNumberWithInt; 408 return NSAPI::NSNumberWithUnsignedInt; 410 return NSAPI::NSNumberWithLong; 412 return NSAPI::NSNumberWithUnsignedLong; 414 return NSAPI::NSNumberWithLongLong; 416 return NSAPI::NSNumberWithUnsignedLongLong; 418 return NSAPI::NSNumberWithFloat; 420 return NSAPI::NSNumberWithDouble; 422 return NSAPI::NSNumberWithBool;tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
59 const NSAPI &NS, Commit &commit) { 70 NS.getNSClassId(NSAPI::ClassId_NSString) == II && 71 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel || 72 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) || 75 NS.getNSClassId(NSAPI::ClassId_NSArray) == II && 76 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel || 77 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) || 80 NS.getNSClassId(NSAPI::ClassId_NSDictionary) == II && 82 NSAPI::NSDict_dictionaryWithDictionary) == Sel || 83 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) { 204 const NSAPI &NS, 214 const NSAPI &NS, 224 const NSAPI &NS, 258 const NSAPI &NS, 290 const NSAPI &NS, Commit &commit) { 304 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex)) 307 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_objectForKey)) 313 if (Sel == NS.getNSArraySelector(NSAPI::NSMutableArr_replaceObjectAtIndex)) 316 if (Sel == NS.getNSDictionarySelector(NSAPI::NSMutableDict_setObjectForKey)) 327 const NSAPI &NS, Commit &commit, 330 const NSAPI &NS, Commit &commit); 332 const NSAPI &NS, Commit &commit); 334 const NSAPI &NS, Commit &commit); 336 const NSAPI &NS, Commit &commit); 339 const NSAPI &NS, Commit &commit, 345 if (II == NS.getNSClassId(NSAPI::ClassId_NSArray)) 347 if (II == NS.getNSClassId(NSAPI::ClassId_NSDictionary)) 349 if (II == NS.getNSClassId(NSAPI::ClassId_NSNumber)) 351 if (II == NS.getNSClassId(NSAPI::ClassId_NSString)) 368 const NSAPI &NS); 378 const NSAPI &NS, Commit &commit, 390 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_array)) { 397 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObject)) { 407 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObjects) || 408 Sel == NS.getNSArraySelector(NSAPI::NSArr_initWithObjects)) { 439 static bool getNSArrayObjects(const Expr *E, const NSAPI &NS, 453 if (Cls != NS.getNSClassId(NSAPI::ClassId_NSArray)) 457 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_array)) 460 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObject)) { 467 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObjects) || 468 Sel == NS.getNSArraySelector(NSAPI::NSArr_initWithObjects)) { 490 const NSAPI &NS, Commit &commit) { 494 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_dictionary)) { 502 NSAPI::NSDict_dictionaryWithObjectForKey)) { 523 NSAPI::NSDict_dictionaryWithObjectsAndKeys) || 524 Sel == NS.getNSDictionarySelector(NSAPI::NSDict_initWithObjectsAndKeys)) { 560 NSAPI::NSDict_dictionaryWithObjectsForKeys) || 561 Sel == NS.getNSDictionarySelector(NSAPI::NSDict_initWithObjectsForKeys)) { 603 const NSAPI &NS) { 611 if (II != NS.getNSClassId(NSAPI::ClassId_NSDictionary)) 616 NSAPI::NSDict_dictionaryWithObjectsForKeys) || 617 Sel == NS.getNSDictionarySelector(NSAPI::NSDict_initWithObjectsForKeys)) { 644 const NSAPI &NS, Commit &commit) { 647 if (NS.isNSNumberLiteralSelector(NSAPI::NSNumberWithChar, 660 const NSAPI &NS, Commit &commit) { 661 if (NS.isNSNumberLiteralSelector(NSAPI::NSNumberWithBool, 753 const NSAPI &NS, Commit &commit) { 778 Optional<NSAPI::NSNumberLiteralMethodKind> 782 NSAPI::NSNumberLiteralMethodKind MK = *MKOpt; 789 case NSAPI::NSNumberWithChar: 790 case NSAPI::NSNumberWithUnsignedChar: 791 case NSAPI::NSNumberWithShort: 792 case NSAPI::NSNumberWithUnsignedShort: 793 case NSAPI::NSNumberWithBool: 796 case NSAPI::NSNumberWithUnsignedInt: 797 case NSAPI::NSNumberWithUnsignedInteger: 800 case NSAPI::NSNumberWithInt: 801 case NSAPI::NSNumberWithInteger: 804 case NSAPI::NSNumberWithUnsignedLong: 807 case NSAPI::NSNumberWithLong: 811 case NSAPI::NSNumberWithUnsignedLongLong: 814 case NSAPI::NSNumberWithLongLong: 818 case NSAPI::NSNumberWithDouble: 821 case NSAPI::NSNumberWithFloat: 976 const NSAPI &NS, Commit &commit) { 986 Optional<NSAPI::NSNumberLiteralMethodKind> 990 NSAPI::NSNumberLiteralMethodKind MK = *MKOpt; 1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) 1013 if ((MK == NSAPI::NSNumberWithInteger || 1014 MK == NSAPI::NSNumberWithUnsignedInteger) && 1018 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && 1123 const NSAPI &NS, Commit &commit) { 1161 const NSAPI &NS, Commit &commit) { 1164 if (Sel == NS.getNSStringSelector(NSAPI::NSStr_stringWithUTF8String) || 1165 Sel == NS.getNSStringSelector(NSAPI::NSStr_stringWithCString) || 1166 Sel == NS.getNSStringSelector(NSAPI::NSStr_initWithUTF8String)) { 1172 if (Sel == NS.getNSStringSelector(NSAPI::NSStr_stringWithCStringEncoding)) {tools/clang/lib/Sema/Sema.cpp
166 for (unsigned I = 0; I != NSAPI::NumNSNumberLiteralMethods; ++I) 170 NSAPIObj.reset(new NSAPI(Context));tools/clang/lib/Sema/SemaChecking.cpp
13671 NSAPI::ClassId_NSMutableArray); 13678 Optional<NSAPI::NSArrayMethodKind> MKOpt = 13684 NSAPI::NSArrayMethodKind MK = *MKOpt; 13687 case NSAPI::NSMutableArr_addObject: 13688 case NSAPI::NSMutableArr_insertObjectAtIndex: 13689 case NSAPI::NSMutableArr_setObjectAtIndexedSubscript: 13691 case NSAPI::NSMutableArr_replaceObjectAtIndex: 13706 NSAPI::ClassId_NSMutableDictionary); 13713 Optional<NSAPI::NSDictionaryMethodKind> MKOpt = 13719 NSAPI::NSDictionaryMethodKind MK = *MKOpt; 13722 case NSAPI::NSMutableDict_setObjectForKey: 13723 case NSAPI::NSMutableDict_setValueForKey: 13724 case NSAPI::NSMutableDict_setObjectForKeyedSubscript: 13737 NSAPI::ClassId_NSMutableSet); 13741 NSAPI::ClassId_NSMutableOrderedSet); 13748 Optional<NSAPI::NSSetMethodKind> MKOpt = S.NSAPIObj->getNSSetMethodKind(Sel); 13753 NSAPI::NSSetMethodKind MK = *MKOpt; 13756 case NSAPI::NSMutableSet_addObject: 13757 case NSAPI::NSOrderedSet_setObjectAtIndex: 13758 case NSAPI::NSOrderedSet_setObjectAtIndexedSubscript: 13759 case NSAPI::NSOrderedSet_insertObjectAtIndex: 13761 case NSAPI::NSOrderedSet_replaceObjectAtIndexWithObject:tools/clang/lib/Sema/SemaDecl.cpp
13955 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject);
tools/clang/lib/Sema/SemaDeclObjC.cpp 4035 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject),
tools/clang/lib/Sema/SemaExprObjC.cpp115 IdentifierInfo *NSIdent = NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); 169 static NSAPI::NSClassIdKindKind ClassKindFromLiteralKind( 173 return NSAPI::ClassId_NSArray; 175 return NSAPI::ClassId_NSDictionary; 177 return NSAPI::ClassId_NSNumber; 179 return NSAPI::ClassId_NSString; 181 return NSAPI::ClassId_NSValue; 199 NSAPI::NSClassIdKindKind Kind = ClassKindFromLiteralKind(LiteralKind); 220 NSAPI::NSClassIdKindKind ClassKind = ClassKindFromLiteralKind(LiteralKind); 245 Optional<NSAPI::NSNumberLiteralMethodKind> Kind = 810 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); 916 NSAPI::NSDict_dictionaryWithObjectsForKeysCount); 2292 const NSAPI &, edit::Commit &)) { 2630 const IdentifierInfo *II = S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject);usr/include/c++/7.4.0/bits/unique_ptr.h
68 default_delete(const default_delete<_Up>&) noexcept { } 72 operator()(_Tp* __ptr) const 74 static_assert(!is_void<_Tp>::value, 76 static_assert(sizeof(_Tp)>0, 122 using type = _Up*; 137 using pointer = typename _Ptr<_Tp, _Dp>::type; 161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type; 163 __uniq_ptr_impl<_Tp, _Dp> _M_t; 166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer; 167 using element_type = _Tp; 252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept 297 __safe_conversion_up<_Up, _Ep>, 301 operator=(unique_ptr<_Up, _Ep>&& __u) noexceptusr/include/c++/7.4.0/type_traits
215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type 581 : public __or_<is_lvalue_reference<_Tp>, 582 is_rvalue_reference<_Tp>>::type 601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>, 601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>, 602 is_void<_Tp>>>::type 638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type 638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type 1554 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1645 { typedef _Tp& type; }; 1650 : public __add_lvalue_reference_helper<_Tp>