/external/clang/lib/ARCMigrate/ |
D | TransAPIUses.cpp | 48 getArgumentSel = sels.getSelector(2, selIds); in APIChecker() 50 setArgumentSel = sels.getSelector(2, selIds); in APIChecker() 61 if (E->getSelector() == getReturnValueSel) in VisitObjCMessageExpr() 63 else if (E->getSelector() == setReturnValueSel) in VisitObjCMessageExpr() 65 else if (E->getSelector() == getArgumentSel) in VisitObjCMessageExpr() 67 else if (E->getSelector() == setArgumentSel) in VisitObjCMessageExpr() 91 E->getSelector() == zoneSel && in VisitObjCMessageExpr()
|
D | TransRetainReleaseDealloc.cpp | 63 if (E->isInstanceMessage() && E->getSelector() == FinalizeSel) in VisitObjCMessageExpr() 88 err += E->getSelector().getAsString() + "' message on " in VisitObjCMessageExpr() 97 err += E->getSelector().getAsString() + "' message on " in VisitObjCMessageExpr() 326 return (ME->isInstanceMessage() && ME->getSelector() == DelegateSel); in isDelegateMessage()
|
D | TransZeroOutPropsInDealloc.cpp | 62 if (PropDecl->getSetterName() == ME->getSelector()) { in VisitObjCMessageExpr() 102 !(D->isInstanceMethod() && D->getSelector() == FinalizeSel)) in TraverseObjCMethodDecl()
|
D | TransEmptyStatementsAndDealloc.cpp | 222 } else if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in cleanupDeallocOrFinalize()
|
/external/clang/lib/AST/ |
D | NSAPI.cpp | 54 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSStringSelector() 102 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector() 119 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSArraySelector() 157 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector() 165 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector() 174 Sel = Ctx.Selectors.getSelector(3, KeyIdents); in getNSDictionarySelector() 197 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSDictionarySelector() 411 Sel = Ctx.Selectors.getSelector(Idents.size(), Idents.data()); in getOrInitSelector()
|
D | StmtDumper.cpp | 613 OS << " selector=" << Node->getSelector().getAsString(); in VisitObjCMessageExpr() 635 OS << " selector=" << Node->getBoxingMethod()->getSelector().getAsString(); in VisitObjCBoxedExpr() 657 OS << " " << Node->getSelector().getAsString(); in VisitObjCSelectorExpr() 671 OS << Node->getImplicitPropertyGetter()->getSelector().getAsString(); in VisitObjCPropertyRefExpr() 677 OS << Setter->getSelector().getAsString(); in VisitObjCPropertyRefExpr() 704 OS << Node->getAtIndexMethodDecl()->getSelector().getAsString(); in VisitObjCSubscriptRefExpr() 713 OS << Node->setAtIndexMethodDecl()->getSelector().getAsString(); in VisitObjCSubscriptRefExpr()
|
D | DeclObjC.cpp | 473 SelLocsKind = hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams() 496 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 500 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 505 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 510 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 515 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclaration() 527 if (ObjCMethodDecl *MD = IFD->getMethod(getSelector(), in getCanonicalDecl() 534 if (ObjCMethodDecl *MD = CatD->getMethod(getSelector(), in getCanonicalDecl() 540 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl() 573 family = getSelector().getMethodFamily(); in getMethodFamily()
|
D | Mangle.cpp | 144 OS << ' ' << MD->getSelector().getAsString() << ']'; in mangleObjCMethodName()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckObjCDealloc.cpp | 33 if (ME->getSelector() == Dealloc) { in scan_dealloc() 59 if (ME->getSelector() == Release) in scan_ivar_release() 156 Selector S = Ctx.Selectors.getSelector(0, &II); in checkObjCDealloc() 163 if ((*I)->getSelector() == S) { in checkObjCDealloc() 207 Selector RS = Ctx.Selectors.getSelector(0, &RII); in checkObjCDealloc()
|
D | CheckObjCInstMethSignature.cpp | 58 << MethDerived->getSelector().getAsString() in CompareReturnTypes() 100 IMeths[M->getSelector()] = M; in CheckObjCInstMethSignature() 111 Selector S = M->getSelector(); in CheckObjCInstMethSignature()
|
D | BasicObjCFoundationChecks.cpp | 116 << msg.getSelector().getAsString() << "' cannot be nil"; in WarnNilArg() 131 Selector S = msg.getSelector(); in checkPreObjCMessage() 480 Selector S = msg.getSelector(); in checkPreObjCMessage() 529 Selector S = msg.getSelector(); in isVariadicMessage() 590 unsigned variadicArgsBegin = msg.getSelector().getNumArgs(); in checkPreObjCMessage() 640 os << msg.getSelector().getAsString() in checkPreObjCMessage() 777 Selector Sel = M.getSelector(); in checkPostObjCMessage()
|
D | NSAutoreleasePoolChecker.cpp | 58 if (msg.getSelector() != releaseS) in checkPreObjCMessage()
|
D | NoReturnFunctionChecker.cpp | 123 Selector Sel = Msg.getSelector(); in checkPostObjCMessage()
|
D | RetainCountChecker.cpp | 482 Selector getSelector() const { return S; } in getSelector() function in __anona6e8e9d70311::ObjCSummaryKey 501 V.getSelector())); in getHashValue() 506 LHS.getSelector() == RHS.getSelector(); in isEqual() 709 return Ctx.Selectors.getSelector(II.size(), &II[0]); in generateSelector() 775 return getMethodSummary(M.getSelector(), Class, M.getDecl(), in getClassMethodSummary() 783 Selector S = MD->getSelector(); in getMethodSummary() 1512 Selector S = Msg.getSelector(); in getInstanceMethodSummary() 2277 os << "whose name ('" << MD->getSelector().getAsString() in getEndPath() 2293 os << " and returned from method '" << MD.getSelector().getAsString() in getEndPath()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 354 << MDecl->getSelector(); in ActOnStartOfObjCMethodDef() 375 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef() 392 IMD = IC->getSuperClass()->lookupMethod(MDecl->getSelector(), in ActOnStartOfObjCMethodDef() 750 MethodMap[MD->getSelector()] = MD; in DiagnoseClassExtensionDupMethods() 758 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() 1524 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods() 1564 Selector fISelector = Context.Selectors.getSelector(1, &II); in CheckProtocolMethodDefs() 1582 !method->isSynthesized() && !InsMap.count(method->getSelector()) && in CheckProtocolMethodDefs() 1584 !Super->lookupInstanceMethod(method->getSelector()))) { in CheckProtocolMethodDefs() 1595 IDecl->lookupInstanceMethod(method->getSelector(), in CheckProtocolMethodDefs() [all …]
|
D | SemaPseudoObject.cpp | 480 GetterSelector = Getter->getSelector(); in findGetter() 488 setter->getSelector().getIdentifierInfoForSlot(0); in findGetter() 513 SetterSelector = setter->getSelector(); in findSetter() 517 RefExpr->getImplicitPropertyGetter()->getSelector() in findSetter() 546 << prop->getName() << prop1->getName() << setter->getSelector(); in findSetter() 606 GenericLoc, Getter->getSelector(), in buildGet() 611 Getter->getSelector(), Getter, in buildGet() 968 Selector GetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in CheckKeyForObjCARCConversion() 1014 AtIndexGetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in findAtIndexGetter() 1022 AtIndexGetterSelector = S.Context.Selectors.getSelector(1, KeyIdents); in findAtIndexGetter() [all …]
|
D | SemaCodeComplete.cpp | 711 if (PreferredSelector == Method->getSelector()) in AdjustResultPriorityForDecl() 2646 Selector Sel = Method->getSelector(); in CreateCodeCompletionString() 3408 if (M->getSelector().isUnarySelector()) in AddObjCProperties() 3409 if (IdentifierInfo *Name = M->getSelector().getIdentifierInfoForSlot(0)) in AddObjCProperties() 4718 return isAcceptableObjCSelector(Method->getSelector(), WantKind, SelIdents, in isAcceptableObjCMethod() 4770 if (!Selectors.insert(M->getSelector())) in AddObjCMethods() 4977 Selector Sel = Msg->getSelector(); in GetAssumedMessageSendExprType() 5073 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 5080 if ((SuperMethod = Category->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 5122 Selector Sel = CurMethod->getSelector(); in AddSuperSendCompletion() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineObjC.cpp | 187 if (Msg->getSelector() == RaiseSel) { in VisitObjCMessage() 223 Ctx.Selectors.getSelector(II.size(), &II[0]); in VisitObjCMessage() 228 Ctx.Selectors.getSelector(II.size(), &II[0]); in VisitObjCMessage() 231 Selector S = Msg->getSelector(); in VisitObjCMessage()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 67 Selector Sel = Msg->getSelector(); in rewriteObjCRedundantCallWithLiteral() 303 Selector Sel = Msg->getSelector(); in rewriteToObjCSubscriptSyntax() 365 Selector Sel = Msg->getSelector(); in rewriteToArrayLiteral() 416 Selector Sel = Msg->getSelector(); in rewriteToDictionaryLiteral() 497 Msg->getSelector())) { in rewriteToCharLiteral() 511 Msg->getSelector())) { in rewriteToBoolLiteral() 626 Selector Sel = Msg->getSelector(); in rewriteToNumberLiteral() 830 Selector Sel = Msg->getSelector(); in rewriteToNumericBoxedExpression() 994 Selector Sel = Msg->getSelector(); in rewriteToStringBoxedExpression()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 394 Selector getSelector() const { return SelName; } in getSelector() function 623 return getImplicitPropertyGetter()->getSelector(); in getGetterSelector() 629 return getImplicitPropertySetter()->getSelector(); in getSetterSelector() 1239 Selector getSelector() const; 1267 return getSelector().getMethodFamily(); in getMethodFamily() 1315 return getStandardSelectorLoc(Index, getSelector(), in getSelectorLoc() 1328 Selector Sel = getSelector(); in getNumSelectorLocs()
|
D | DeclObjC.h | 313 return getStandardSelectorLoc(Index, getSelector(), in getSelectorLoc() 326 Selector Sel = getSelector(); in getNumSelectorLocs() 337 Selector getSelector() const { return getDeclName().getObjCSelector(); } in getSelector() function 362 return param_begin() + getSelector().getNumArgs(); in sel_param_end()
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 943 return GetSelector(Builder, Method->getSelector(), SelTypes, false); in GetSelector() 1634 MakeConstantString((*iter)->getSelector().getAsString())); in GenerateProtocol() 1638 MakeConstantString((*iter)->getSelector().getAsString())); in GenerateProtocol() 1654 MakeConstantString((*iter)->getSelector().getAsString())); in GenerateProtocol() 1658 MakeConstantString((*iter)->getSelector().getAsString())); in GenerateProtocol() 1703 Fields.push_back(MakeConstantString(getter->getSelector().getAsString())); in GenerateProtocol() 1714 Fields.push_back(MakeConstantString(setter->getSelector().getAsString())); in GenerateProtocol() 1878 InstanceMethodSels.push_back((*iter)->getSelector()); in GenerateCategory() 1890 ClassMethodSels.push_back((*iter)->getSelector()); in GenerateCategory() 1957 InstanceMethodSels.push_back(getter->getSelector()); in GeneratePropertyList() [all …]
|
D | CGObjC.cpp | 66 Selector Sel = BoxingMethod->getSelector(); in EmitObjCBoxedExpr() 159 Selector Sel = MethodWithObjects->getSelector(); in EmitObjCCollectionLiteral() 194 return CGM.getObjCRuntime().GetSelector(Builder, E->getSelector()); in EmitObjCSelectorExpr() 374 E->getSelector(), in EmitObjCMessageExpr() 383 E->getSelector(), in EmitObjCMessageExpr() 424 method->getSelector(), in Emit() 465 OMD->getSelector().isUnarySelector()) { in StartObjCMethod() 467 OMD->getSelector().getIdentifierInfoForSlot(0); in StartObjCMethod() 1412 CGM.getContext().Selectors.getSelector(llvm::array_lengthof(II), &II[0]); in EmitObjCForCollectionStmt() 2199 Selector AllocSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush() [all …]
|
/external/clang/tools/libclang/ |
D | CXCursor.cpp | 813 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() 830 if (ObjCMethodDecl *Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() 887 if (ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow() 899 if (ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow() 976 getMethod(Method->getSelector(), Method->isInstanceMethod()); in getOverriddenCursors()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 240 Selector S = MD->getSelector(); in DisplayFunction() 511 return ID->getSelector().getAsString(); in getFunctionName()
|