/external/clang/lib/AST/ |
SelectorLocationsKind.cpp | 21 Selector Sel, 25 unsigned NumSelArgs = Sel.getNumArgs(); 30 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(0); 38 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index); 70 SelectorLocationsKind hasStandardSelLocs(Selector Sel, 77 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false, 86 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true, 97 clang::hasStandardSelectorLocs(Selector Sel, 101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); 105 Selector Sel, [all...] |
NSAPI.cpp | 40 Selector Sel; 43 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); 46 Sel = Ctx.Selectors.getUnarySelector( 54 Sel = Ctx.Selectors.getSelector(2, KeyIdents); 58 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); 61 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); 64 return (NSStringSelectors[MK] = Sel); 71 NSAPI::getNSStringMethodKind(Selector Sel) const { 74 if (Sel == getNSStringSelector(MK)) 83 Selector Sel; [all...] |
DeclObjC.cpp | 65 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance) const { 75 for (llvm::tie(Meth, MethEnd) = lookup(Sel); Meth != MethEnd; ++Meth) { 319 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, 333 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) 340 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) 346 if ((MethodDecl = CatDecl->getMethod(Sel, isInstance))) 355 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) 370 const Selector &Sel, 381 Method = Instance ? ImpDecl->getInstanceMethod(Sel) 382 : ImpDecl->getClassMethod(Sel); [all...] |
/external/clang/include/clang/AST/ |
SelectorLocationsKind.h | 46 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 58 Selector Sel, 64 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 76 Selector Sel,
|
NSAPI.h | 54 /// \brief Return NSStringMethodKind if \param Sel is such a selector. 55 llvm::Optional<NSStringMethodKind> getNSStringMethodKind(Selector Sel) const; 86 /// \brief Return NSArrayMethodKind if \arg Sel is such a selector. 87 llvm::Optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel); 107 /// \brief Return NSDictionaryMethodKind if \arg Sel is such a selector. 109 getNSDictionaryMethodKind(Selector Sel); 167 Selector Sel) const { 168 return Sel == getNSNumberLiteralSelector(MK, false) || 169 Sel == getNSNumberLiteralSelector(MK, true); 172 /// \brief Return NSNumberLiteralMethodKind if \arg Sel is such a selector [all...] |
DeclObjC.h | 326 Selector Sel = getSelector(); 327 if (Sel.isUnarySelector()) 329 return Sel.getNumArgs(); 512 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance) const; 513 ObjCMethodDecl *getInstanceMethod(Selector Sel) const { 514 return getMethod(Sel, true/*isInstance*/); 516 ObjCMethodDecl *getClassMethod(Selector Sel) const { 517 return getMethod(Sel, false/*isInstance*/); 694 ObjCMethodDecl *getCategoryInstanceMethod(Selector Sel) const; 695 ObjCMethodDecl *getCategoryClassMethod(Selector Sel) const [all...] |
ExprObjC.h | [all...] |
DeclarationName.h | 174 DeclarationName(Selector Sel) : Ptr(Sel.InfoPtr) { }
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
NoReturnFunctionChecker.cpp | 83 static bool END_WITH_NULL isMultiArgSelector(const Selector *Sel, ...) { 85 va_start(argp, Sel); 90 if (!Sel->getNameForSlot(Slot).equals(Arg)) 123 Selector Sel = Msg.getSelector(); 124 switch (Sel.getNumArgs()) { 128 if (!isMultiArgSelector(&Sel, "handleFailureInFunction", "file", 133 if (!isMultiArgSelector(&Sel, "handleFailureInMethod", "object", "file",
|
/external/clang/include/clang/Serialization/ |
ASTDeserializationListener.h | 47 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) { }
|
/external/clang/lib/Edit/ |
RewriteObjCFoundationAPI.cpp | 67 Selector Sel = Msg->getSelector(); 71 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel || 72 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) || 76 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel || 77 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) || 82 NSAPI::NSDict_dictionaryWithDictionary) == Sel || 83 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) { 303 Selector Sel = Msg->getSelector(); 305 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex)) 308 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_objectForKey) [all...] |
/external/clang/lib/Serialization/ |
ASTCommon.cpp | 71 unsigned serialization::ComputeHash(Selector Sel) { 72 unsigned N = Sel.getNumArgs(); 77 if (IdentifierInfo *II = Sel.getIdentifierInfoForSlot(I))
|
ASTCommon.h | 59 unsigned ComputeHash(Selector Sel);
|
ASTReaderInternals.h | 160 static unsigned ComputeHash(Selector Sel);
|
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 147 Selector Sel, const ObjCMethodDecl *Method) { 150 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); 158 << Sel; 188 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind, 224 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); 228 Method = ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, 245 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) 639 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); 640 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); 644 SourceLocation(), SourceLocation(), Sel, [all...] |
SemaCodeComplete.cpp | 237 void setPreferredSelector(Selector Sel) { 238 PreferredSelector = Sel; [all...] |
SemaExprMember.cpp | 387 const Selector &Sel, 392 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 397 if (Decl *D = FindGetterSetterNameDeclFromProtocolList(*I, Member, Sel, 406 const Selector &Sel, 418 if (ObjCMethodDecl *OMD = (*I)->getInstanceMethod(Sel)) { 427 GDecl = FindGetterSetterNameDeclFromProtocolList(*I, Member, Sel, [all...] |
/external/clang/include/clang/Frontend/ |
ChainedIncludesSource.h | 69 virtual void ReadMethodPool(Selector Sel);
|
/external/clang/include/clang/Sema/ |
ExternalSemaSource.h | 62 virtual void ReadMethodPool(Selector Sel);
|
/external/clang/lib/CodeGen/ |
CGObjCRuntime.h | 124 Selector Sel, bool lval=false) = 0; 157 Selector Sel, 173 Selector Sel,
|
CGObjCMac.cpp | 58 /// id objc_msgSend (id, SEL, ...) 72 /// void objc_msgSend_stret (id, SEL, ...) 85 /// [double | long double] objc_msgSend_fpret(id self, SEL op, ...) 98 /// _Complex long double objc_msgSend_fp2ret(id self, SEL op, ...) 114 /// id objc_msgSendSuper(struct objc_super *super, SEL op, ...) 126 /// id objc_msgSendSuper2(struct objc_super *super, SEL op, ...) 138 /// SEL op, ...) 149 /// SEL op, ...) 182 /// SelectorPtrTy - LLVM type for selector handles (typeof(SEL)) 235 // id objc_getProperty (id, SEL, ptrdiff_t, bool [all...] |
/external/clang/lib/Frontend/ |
MultiplexConsumer.cpp | 39 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel); 76 serialization::SelectorID ID, Selector Sel) { 78 Listeners[i]->SelectorRead(ID, Sel);
|
ChainedIncludesSource.cpp | 234 void ChainedIncludesSource::ReadMethodPool(Selector Sel) { 235 getFinalReader().ReadMethodPool(Sel);
|
/external/llvm/lib/Transforms/Utils/ |
SimplifyIndVar.cpp | 221 SelectInst *Sel = 225 Rem->replaceAllUsesWith(Sel);
|
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 710 Selector Sel) const { 735 D = IDecl->lookupMethod(Sel, true); 767 Selector Sel = E->getSelector(); 793 if (!canBeOverridenInSubclass(IDecl, Sel)) 800 const ObjCMethodDecl *MD = IDecl->lookupPrivateMethod(Sel); 813 return RuntimeDefinition(IDecl->lookupPrivateClassMethod(Sel));
|