/external/clang/include/clang/Index/ |
SelectorMap.h | 42 method_iterator methods_begin(Selector Sel) const; 43 method_iterator methods_end(Selector Sel) const; 45 astlocation_iterator refs_begin(Selector Sel) const; 46 astlocation_iterator refs_end(Selector Sel) const;
|
IndexProvider.h | 30 virtual void GetTranslationUnitsFor(GlobalSelector Sel,
|
Indexer.h | 51 virtual void GetTranslationUnitsFor(GlobalSelector Sel,
|
GlobalSelector.h | 46 static GlobalSelector get(Selector Sel, Program &Prog);
|
/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...] |
DeclObjC.cpp | 63 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance) const { 73 for (llvm::tie(Meth, MethEnd) = lookup(Sel); Meth != MethEnd; ++Meth) { 281 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, 290 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) 298 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) 304 if ((MethodDecl = CatDecl->getMethod(Sel, isInstance))) 312 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) 322 const Selector &Sel, 329 Method = Instance ? ImpDecl->getInstanceMethod(Sel) 330 : ImpDecl->getClassMethod(Sel); [all...] |
DeclarationName.cpp | 134 DeclarationName::DeclarationName(Selector Sel) { 135 if (!Sel.getAsOpaquePtr()) { 140 switch (Sel.getNumArgs()) { 142 Ptr = reinterpret_cast<uintptr_t>(Sel.getAsIdentifierInfo()); 148 Ptr = reinterpret_cast<uintptr_t>(Sel.getAsIdentifierInfo()); 154 Ptr = Sel.InfoPtr & ~Selector::ArgFlags;
|
/external/clang/lib/Index/ |
GlobalSelector.cpp | 49 GlobalSelector GlobalSelector::get(Selector Sel, Program &Prog) { 50 if (Sel.isNull()) 56 for (unsigned i = 0, e = Sel.isUnarySelector() ? 1 : Sel.getNumArgs(); 58 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(i); 63 Selector GlobSel = ProgImpl.getSelectors().getSelector(Sel.getNumArgs(), 69 llvm::DenseMapInfo<GlobalSelector>::getHashValue(GlobalSelector Sel) { 70 return DenseMapInfo<void*>::getHashValue(Sel.getAsOpaquePtr());
|
SelectorMap.cpp | 67 SelectorMap::methods_begin(Selector Sel) const { 68 return method_iterator(SelMethMap.lower_bound(Sel)); 72 SelectorMap::methods_end(Selector Sel) const { 73 return method_iterator(SelMethMap.upper_bound(Sel)); 77 SelectorMap::refs_begin(Selector Sel) const { 78 return astlocation_iterator(SelRefMap.lower_bound(Sel)); 82 SelectorMap::refs_end(Selector Sel) const { 83 return astlocation_iterator(SelRefMap.upper_bound(Sel));
|
Analyzer.cpp | 130 Selector Sel = GlobSel.getSelector(Ctx); 134 I = SelMap.refs_begin(Sel), E = SelMap.refs_end(Sel); I != E; ++I) { 221 Selector Sel = Msg->getSelector(); 225 if (Cls->getMethod(Sel, IsInstanceMethod)) 313 Selector sel = Msg->getSelector(); local 314 assert(!sel.isNull()); 317 GlobSel = GlobalSelector::get(sel, Prog); 329 for (llvm::tie(Meth, MethEnd) = Cls->lookup(sel); 366 Selector Sel = GlobSel.getSelector(Ctx) [all...] |
Indexer.cpp | 101 void Indexer::GetTranslationUnitsFor(GlobalSelector Sel, 103 assert(Sel.isValid() && "Expected valid GlobalSelector"); 105 SelMapTy::iterator I = SelMap.find(Sel);
|
/external/clang/include/clang/AST/ |
SelectorLocationsKind.h | 46 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 58 Selector Sel, 64 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 76 Selector Sel,
|
DeclObjC.h | 306 Selector Sel = getSelector(); 307 if (Sel.isUnarySelector()) 309 return Sel.getNumArgs(); 480 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance) const; 481 ObjCMethodDecl *getInstanceMethod(Selector Sel) const { 482 return getMethod(Sel, true/*isInstance*/); 484 ObjCMethodDecl *getClassMethod(Selector Sel) const { 485 return getMethod(Sel, false/*isInstance*/); 614 ObjCMethodDecl *getCategoryInstanceMethod(Selector Sel) const; 615 ObjCMethodDecl *getCategoryClassMethod(Selector Sel) const [all...] |
ExprObjC.h | 504 Selector Sel, 513 Selector Sel, 522 Selector Sel, 572 Selector Sel, 608 /// \param Sel The selector used to determine which method gets called. 624 Selector Sel, 645 /// \param Sel The selector used to determine which method gets called. 659 Selector Sel, 680 /// \param Sel The selector used to determine which method gets called. 694 Selector Sel, [all...] |
/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 | 46 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) { }
|
ChainedIncludesSource.h | 69 virtual std::pair<ObjCMethodList,ObjCMethodList> ReadMethodPool(Selector Sel);
|
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 171 ExprResult Sema::ParseObjCSelectorExpression(Selector Sel, 176 ObjCMethodDecl *Method = LookupInstanceMethodInGlobalPool(Sel, 179 Method = LookupFactoryMethodInGlobalPool(Sel, 182 Diag(SelLoc, diag::warn_undeclared_selector) << Sel; 187 = ReferencedSelectors.find(Sel); 189 ReferencedSelectors.insert(std::make_pair(Sel, SelLoc)); 195 switch (Sel.getMethodFamily()) { 202 Sel << SourceRange(LParenLoc, RParenLoc); 218 return new (Context) ObjCSelectorExpr(Ty, Sel, AtLoc, RParenLoc); 351 Selector Sel, ObjCMethodDecl *Method [all...] |
/external/clang/lib/Serialization/ |
ASTCommon.cpp | 67 unsigned serialization::ComputeHash(Selector Sel) { 68 unsigned N = Sel.getNumArgs(); 73 if (IdentifierInfo *II = Sel.getIdentifierInfoForSlot(I))
|
ASTCommon.h | 58 unsigned ComputeHash(Selector Sel);
|
/external/llvm/lib/VMCore/ |
AutoUpgrade.cpp | 427 CallInst *&Sel, 441 assert(!Sel && "Found more than one eh.selector call!"); 442 Sel = CI; 446 if (Exn && Sel) return; 450 if (Exn && Sel) return; 453 FindExnAndSelIntrinsics(*I, Exn, Sel, Visited); 454 if (Exn && Sel) return; 544 CallInst *Sel = 0; 545 FindExnAndSelIntrinsics(UnwindDest, Exn, Sel, Visited); 546 assert(Exn && Sel && "Cannot find eh.exception and eh.selector calls!") [all...] |
/external/clang/include/clang/Sema/ |
ExternalSemaSource.h | 65 virtual std::pair<ObjCMethodList,ObjCMethodList> ReadMethodPool(Selector Sel);
|
/external/clang/lib/CodeGen/ |
CGObjCRuntime.h | 121 Selector Sel, bool lval=false) = 0; 151 Selector Sel, 167 Selector Sel,
|
/external/llvm/lib/CodeGen/ |
DwarfEHPrepare.cpp | 187 IntrinsicInst *Sel = *I; 190 unsigned OpIdx = Sel->getNumArgOperands() - 1; 191 GlobalVariable *GV = dyn_cast<GlobalVariable>(Sel->getArgOperand(OpIdx)); 193 Sel->setArgOperand(OpIdx, EHCatchAllValue->getInitializer()); 215 if (IntrinsicInst *Sel = dyn_cast<IntrinsicInst>(II)) { 216 if (Sel->getIntrinsicID() == Intrinsic::eh_selector) 217 SelCalls.insert(Sel); 341 CallInst::Create(SelectorIntrinsic, Args, "eh.sel.catch.all", II);
|
/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);
|