Lines Matching refs:Method
98 if (const auto *Method = dyn_cast<CXXMethodDecl>(Decl)) { in VisitFunctionDecl() local
100 if (Method->getParent()->getDescribedClassTemplate() != nullptr) in VisitFunctionDecl()
104 for (auto P : Context.getParents(*Method)) { in VisitFunctionDecl()
110 if (isa<CXXConstructorDecl>(Method) || isa<CXXDestructorDecl>(Method)) in VisitFunctionDecl()
454 for (const auto *Method : Methods) { in recordObjCMethods() local
456 if (Method->isPropertyAccessor()) in recordObjCMethods()
459 StringRef Name = API.copyString(Method->getSelector().getAsString()); in recordObjCMethods()
460 StringRef USR = API.recordUSR(Method); in recordObjCMethods()
462 Context.getSourceManager().getPresumedLoc(Method->getLocation()); in recordObjCMethods()
464 if (auto *RawComment = Context.getRawCommentForDeclNoCache(Method)) in recordObjCMethods()
470 DeclarationFragmentsBuilder::getFragmentsForObjCMethod(Method); in recordObjCMethods()
472 DeclarationFragmentsBuilder::getSubHeading(Method); in recordObjCMethods()
474 DeclarationFragmentsBuilder::getFunctionSignature(Method); in recordObjCMethods()
476 API.addObjCMethod(Container, Name, USR, Loc, AvailabilitySet(Method), in recordObjCMethods()
478 Method->isInstanceMethod(), in recordObjCMethods()
479 isInSystemHeader(Context, Method)); in recordObjCMethods()