Home
last modified time | relevance | path

Searched refs:NSAPI (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp60 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 …]
/external/clang/lib/AST/
DNSAPI.cpp17 NSAPI::NSAPI(ASTContext &ctx) in NSAPI() function in NSAPI
22 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId()
42 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const { in getNSStringSelector()
78 Optional<NSAPI::NSStringMethodKind>
79 NSAPI::getNSStringMethodKind(Selector Sel) const { in getNSStringMethodKind()
89 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector()
156 Optional<NSAPI::NSArrayMethodKind> NSAPI::getNSArrayMethodKind(Selector Sel) { in getNSArrayMethodKind()
166 Selector NSAPI::getNSDictionarySelector( in getNSDictionarySelector()
257 Optional<NSAPI::NSDictionaryMethodKind>
258 NSAPI::getNSDictionaryMethodKind(Selector Sel) { in getNSDictionaryMethodKind()
[all …]
DCMakeLists.txt41 NSAPI.cpp
DAndroid.mk63 NSAPI.cpp \
/external/clang/include/clang/Edit/
DRewriters.h19 class NSAPI; variable
28 const NSAPI &NS, Commit &commit);
31 const NSAPI &NS, Commit &commit,
35 const NSAPI &NS, Commit &commit);
/external/clang/include/clang/AST/
DNSAPI.h23 class NSAPI {
25 explicit NSAPI(ASTContext &Ctx);
/external/clang/lib/ARCMigrate/
DObjCMT.cpp94 std::unique_ptr<NSAPI> NSAPIObj;
128 NSAPIObj.reset(new NSAPI(Context)); in Initialize()
242 const NSAPI &NS, edit::Commit &commit, in rewriteToPropertyDotSyntax()
464 const NSAPI &NS, edit::Commit &commit, in rewriteToObjCProperty()
675 const NSAPI &NS, edit::Commit &commit) { in rewriteToObjCInterfaceDecl()
718 const NSAPI &NS, edit::Commit &commit, in rewriteToNSEnumDecl()
772 const NSAPI &NS, edit::Commit &commit, in rewriteToNSMacroDecl()
/external/clang/lib/Sema/
DSemaExprObjC.cpp118 IdentifierInfo *NSIdent = NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); in BuildObjCStringLiteral()
177 Optional<NSAPI::NSNumberLiteralMethodKind> Kind = in getNSNumberFactoryMethod()
201 S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSNumber); in getNSNumberFactoryMethod()
467 NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); in BuildObjCBoxedExpr()
638 NSAPIObj->getNSClassId(NSAPI::ClassId_NSArray), in BuildObjCArrayLiteral()
646 NSAPIObj->getNSClassId(NSAPI::ClassId_NSArray), in BuildObjCArrayLiteral()
659 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); in BuildObjCArrayLiteral()
754 NSAPIObj->getNSClassId(NSAPI::ClassId_NSDictionary), in BuildObjCDictionaryLiteral()
761 NSAPIObj->getNSClassId(NSAPI::ClassId_NSDictionary), in BuildObjCDictionaryLiteral()
775 NSAPI::NSDict_dictionaryWithObjectsForKeysCount); in BuildObjCDictionaryLiteral()
[all …]
DSemaChecking.cpp8321 S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSMutableArray); in GetNSMutableArrayArgumentIndex()
8341 Optional<NSAPI::NSArrayMethodKind> MKOpt = in GetNSMutableArrayArgumentIndex()
8347 NSAPI::NSArrayMethodKind MK = *MKOpt; in GetNSMutableArrayArgumentIndex()
8350 case NSAPI::NSMutableArr_addObject: in GetNSMutableArrayArgumentIndex()
8351 case NSAPI::NSMutableArr_insertObjectAtIndex: in GetNSMutableArrayArgumentIndex()
8352 case NSAPI::NSMutableArr_setObjectAtIndexedSubscript: in GetNSMutableArrayArgumentIndex()
8354 case NSAPI::NSMutableArr_replaceObjectAtIndex: in GetNSMutableArrayArgumentIndex()
8370 S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSMutableDictionary); in GetNSMutableDictionaryArgumentIndex()
8390 Optional<NSAPI::NSDictionaryMethodKind> MKOpt = in GetNSMutableDictionaryArgumentIndex()
8396 NSAPI::NSDictionaryMethodKind MK = *MKOpt; in GetNSMutableDictionaryArgumentIndex()
[all …]
DSema.cpp112 for (unsigned I = 0; I != NSAPI::NumNSNumberLiteralMethods; ++I) in Sema()
116 NSAPIObj.reset(new NSAPI(Context)); in Sema()
DSemaDeclObjC.cpp2743 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject), in ActOnAtEnd()
DSemaDecl.cpp10697 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject); in ActOnFinishFunctionBody()
/external/clang/patches/
D0004-Add-Android-build-system.patch656 + NSAPI.cpp \
/external/clang/include/clang/Sema/
DSema.h639 std::unique_ptr<NSAPI> NSAPIObj;
648 ObjCMethodDecl *NSNumberLiteralMethods[NSAPI::NumNSNumberLiteralMethods];