Home
last modified time | relevance | path

Searched refs:NSAPIObj (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp97 std::unique_ptr<NSAPI> NSAPIObj; member in __anon03f676b70111::ObjCMigrateASTConsumer
133 NSAPIObj.reset(new NSAPI(Context)); in Initialize()
884 *NSAPIObj, commit); in migrateProtocolConformance()
892 if (NSAPIObj->isObjCNSIntegerType(qt)) in CacheObjCNSIntegerTypedefed()
894 else if (NSAPIObj->isObjCNSUIntegerType(qt)) in CacheObjCNSIntegerTypedefed()
926 StringRef NSIntegerName = NSAPIObj->GetNSIntegralKind(qt); in migrateNSEnumDecl()
1258 !NSAPIObj->isMacroDefined("NS_RETURNS_INNER_POINTER")) in migrateNsReturnsInnerPointer()
1488 NSAPIObj->isMacroDefined("CF_CONSUMED")) { in AddCFAnnotations()
1494 NSAPIObj->isMacroDefined("NS_CONSUMED")) { in AddCFAnnotations()
1614 NSAPIObj->isMacroDefined("CF_CONSUMED")) { in AddCFAnnotations()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp100 if (S.NSAPIObj && ClassReceiver) { in ShouldDiagnoseAvailabilityOfDecl()
102 S.NSAPIObj->getInitSelector()); in ShouldDiagnoseAvailabilityOfDecl()
104 MD->getSelector() == S.NSAPIObj->getNewSelector() && in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaExprObjC.cpp116 IdentifierInfo *NSIdent = NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); in BuildObjCStringLiteral()
201 IdentifierInfo *II = S.NSAPIObj->getNSClassId(Kind); in ValidateObjCLiteralInterfaceDecl()
222 IdentifierInfo *II = S.NSAPIObj->getNSClassId(ClassKind); in LookupObjCInterfaceDeclForLiteral()
247 S.NSAPIObj->getNSNumberFactoryMethodKind(NumberType); in getNSNumberFactoryMethod()
261 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind, in getNSNumberFactoryMethod()
430 if (S.NSAPIObj->getNSNumberFactoryMethodKind(OrigElement->getType())) { in CheckObjCCollectionLiteralElement()
808 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); in BuildObjCArrayLiteral()
969 Selector Sel = NSAPIObj->getNSDictionarySelector( in BuildObjCDictionaryLiteral()
2459 if (refactor(Msg,*S.NSAPIObj, ECommit)) { in applyCocoaAPICheck()
2794 if (!S.NSAPIObj) in isMethodDeclaredInRootProtocol()
[all …]
H A DSemaChecking.cpp12691 S.NSAPIObj->isObjCBOOLType(OtherT) && in CheckTautologicalComparison()
13112 S.getLangOpts().ObjC && S.NSAPIObj->isObjCBOOLType(Ty); in isObjCSignedCharBool()
16404 bool IsMutableArray = S.NSAPIObj->isSubclassOfNSClass( in GetNSMutableArrayArgumentIndex()
16414 S.NSAPIObj->getNSArrayMethodKind(Sel); in GetNSMutableArrayArgumentIndex()
16439 bool IsMutableDictionary = S.NSAPIObj->isSubclassOfNSClass( in GetNSMutableDictionaryArgumentIndex()
16449 S.NSAPIObj->getNSDictionaryMethodKind(Sel); in GetNSMutableDictionaryArgumentIndex()
16470 bool IsMutableSet = S.NSAPIObj->isSubclassOfNSClass( in GetNSSetArgumentIndex()
16474 bool IsMutableOrderedSet = S.NSAPIObj->isSubclassOfNSClass( in GetNSSetArgumentIndex()
16483 Optional<NSAPI::NSSetMethodKind> MKOpt = S.NSAPIObj->getNSSetMethodKind(Sel); in GetNSSetArgumentIndex()
H A DSema.cpp230 NSAPIObj.reset(new NSAPI(Context)); in Sema()
H A DSemaDeclObjC.cpp4134 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject), in ActOnAtEnd()
H A DSemaDecl.cpp15272 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject); in ActOnFinishFunctionBody()
H A DSemaExpr.cpp11839 Selector IsEqualSel = S.NSAPIObj->getIsEqualSelector(); in hasIsEqualMethod()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h1164 std::unique_ptr<NSAPI> NSAPIObj; variable