Searched refs:NSAPI (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 60 const NSAPI &NS, Commit &commit) { in rewriteObjCRedundantCallWithLiteral() 71 NS.getNSClassId(NSAPI::ClassId_NSString) == II && in rewriteObjCRedundantCallWithLiteral() 72 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel || in rewriteObjCRedundantCallWithLiteral() 73 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) || in rewriteObjCRedundantCallWithLiteral() 76 NS.getNSClassId(NSAPI::ClassId_NSArray) == II && in rewriteObjCRedundantCallWithLiteral() 77 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel || in rewriteObjCRedundantCallWithLiteral() 78 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) || in rewriteObjCRedundantCallWithLiteral() 81 NS.getNSClassId(NSAPI::ClassId_NSDictionary) == II && in rewriteObjCRedundantCallWithLiteral() 83 NSAPI::NSDict_dictionaryWithDictionary) == Sel || in rewriteObjCRedundantCallWithLiteral() 84 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) { in rewriteObjCRedundantCallWithLiteral() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | NSAPI.cpp | 18 NSAPI::NSAPI(ASTContext &ctx) in NSAPI() function in NSAPI 23 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId() 43 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const { in getNSStringSelector() 77 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector() 137 std::optional<NSAPI::NSArrayMethodKind> 138 NSAPI::getNSArrayMethodKind(Selector Sel) { in getNSArrayMethodKind() 148 Selector NSAPI::getNSDictionarySelector( in getNSDictionarySelector() 225 std::optional<NSAPI::NSDictionaryMethodKind> 226 NSAPI::getNSDictionaryMethodKind(Selector Sel) { in getNSDictionaryMethodKind() 236 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const { in getNSSetSelector() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Edit/ |
H A D | Rewriters.h | 17 class NSAPI; variable 26 const NSAPI &NS, Commit &commit); 29 const NSAPI &NS, Commit &commit, 33 const NSAPI &NS, Commit &commit);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjC.cpp | 999 Message->getReceiverInterface(), NSAPI::ClassId_NSMutableArray); in GetNSMutableArrayArgumentIndex() 1006 std::optional<NSAPI::NSArrayMethodKind> MKOpt = in GetNSMutableArrayArgumentIndex() 1012 NSAPI::NSArrayMethodKind MK = *MKOpt; in GetNSMutableArrayArgumentIndex() 1015 case NSAPI::NSMutableArr_addObject: in GetNSMutableArrayArgumentIndex() 1016 case NSAPI::NSMutableArr_insertObjectAtIndex: in GetNSMutableArrayArgumentIndex() 1017 case NSAPI::NSMutableArr_setObjectAtIndexedSubscript: in GetNSMutableArrayArgumentIndex() 1019 case NSAPI::NSMutableArr_replaceObjectAtIndex: in GetNSMutableArrayArgumentIndex() 1032 Message->getReceiverInterface(), NSAPI::ClassId_NSMutableDictionary); in GetNSMutableDictionaryArgumentIndex() 1039 std::optional<NSAPI::NSDictionaryMethodKind> MKOpt = in GetNSMutableDictionaryArgumentIndex() 1045 NSAPI::NSDictionaryMethodKind MK = *MKOpt; in GetNSMutableDictionaryArgumentIndex() [all …]
|
H A D | SemaExprObjC.cpp | 122 IdentifierInfo *NSIdent = NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); in BuildObjCStringLiteral() 176 static NSAPI::NSClassIdKindKind 180 return NSAPI::ClassId_NSArray; in ClassKindFromLiteralKind() 182 return NSAPI::ClassId_NSDictionary; in ClassKindFromLiteralKind() 184 return NSAPI::ClassId_NSNumber; in ClassKindFromLiteralKind() 186 return NSAPI::ClassId_NSString; in ClassKindFromLiteralKind() 188 return NSAPI::ClassId_NSValue; in ClassKindFromLiteralKind() 207 NSAPI::NSClassIdKindKind Kind = ClassKindFromLiteralKind(LiteralKind); in ValidateObjCLiteralInterfaceDecl() 228 NSAPI::NSClassIdKindKind ClassKind = ClassKindFromLiteralKind(LiteralKind); in LookupObjCInterfaceDeclForLiteral() 253 std::optional<NSAPI::NSNumberLiteralMethodKind> Kind = in getNSNumberFactoryMethod() [all …]
|
H A D | Sema.cpp | 272 for (unsigned I = 0; I != NSAPI::NumNSNumberLiteralMethods; ++I) in Sema() 276 ObjC().NSAPIObj.reset(new NSAPI(Context)); in Sema()
|
H A D | SemaDeclObjC.cpp | 4147 SemaRef.TUScope, NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject), in ActOnAtEnd()
|
H A D | SemaDecl.cpp | 16089 ObjC().NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject); in ActOnFinishFunctionBody()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | NSAPI.h | 23 class NSAPI { 25 explicit NSAPI(ASTContext &Ctx);
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 97 std::unique_ptr<NSAPI> NSAPIObj; 131 NSAPIObj.reset(new NSAPI(Context)); in Initialize() 233 const NSAPI &NS, edit::Commit &commit, in rewriteToPropertyDotSyntax() 454 const NSAPI &NS, edit::Commit &commit, in rewriteToObjCProperty() 661 const NSAPI &NS, edit::Commit &commit) { in rewriteToObjCInterfaceDecl() 704 const NSAPI &NS, edit::Commit &commit, in rewriteToNSEnumDecl() 759 const NSAPI &NS, edit::Commit &commit, in rewriteToNSMacroDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaObjC.h | 599 std::unique_ptr<NSAPI> NSAPIObj; 614 ObjCMethodDecl *NSNumberLiteralMethods[NSAPI::NumNSNumberLiteralMethods];
|
/freebsd/lib/clang/libclang/ |
H A D | Makefile | 124 SRCS_MIN+= AST/NSAPI.cpp
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 1898 NSAPI(CGM.getContext()).isObjCBOOLType(Ty); in EmitScalarRangeCheck()
|