Lines Matching refs:Method

839     const CXXMethodDecl *Method) {  in getFragmentsForSpecialCXXMethod()  argument
842 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(Method)) { in getFragmentsForSpecialCXXMethod()
843 Name = Method->getNameAsString(); in getFragmentsForSpecialCXXMethod()
847 } else if (isa<CXXDestructorDecl>(Method)) in getFragmentsForSpecialCXXMethod()
848 Name = Method->getNameAsString(); in getFragmentsForSpecialCXXMethod()
854 for (unsigned i = 0, end = Method->getNumParams(); i != end; ++i) { in getFragmentsForSpecialCXXMethod()
857 Fragments.append(getFragmentsForParam(Method->getParamDecl(i))); in getFragmentsForSpecialCXXMethod()
862 Method->getExceptionSpecType())); in getFragmentsForSpecialCXXMethod()
868 const CXXMethodDecl *Method) { in getFragmentsForCXXMethod() argument
870 StringRef Name = Method->getName(); in getFragmentsForCXXMethod()
871 if (Method->isStatic()) in getFragmentsForCXXMethod()
874 if (Method->isConstexpr()) in getFragmentsForCXXMethod()
877 if (Method->isVolatile()) in getFragmentsForCXXMethod()
884 .append(getFragmentsForType(Method->getReturnType(), in getFragmentsForCXXMethod()
885 Method->getASTContext(), After)) in getFragmentsForCXXMethod()
890 for (unsigned i = 0, end = Method->getNumParams(); i != end; ++i) { in getFragmentsForCXXMethod()
893 Fragments.append(getFragmentsForParam(Method->getParamDecl(i))); in getFragmentsForCXXMethod()
897 if (Method->isConst()) in getFragmentsForCXXMethod()
902 Method->getExceptionSpecType())); in getFragmentsForCXXMethod()
940 const CXXMethodDecl *Method) { in getFragmentsForOverloadedOperator() argument
946 .append(getFragmentsForType(Method->getReturnType(), in getFragmentsForOverloadedOperator()
947 Method->getASTContext(), After)) in getFragmentsForOverloadedOperator()
949 .append(Method->getNameAsString(), in getFragmentsForOverloadedOperator()
953 for (unsigned i = 0, end = Method->getNumParams(); i != end; ++i) { in getFragmentsForOverloadedOperator()
956 Fragments.append(getFragmentsForParam(Method->getParamDecl(i))); in getFragmentsForOverloadedOperator()
960 if (Method->isConst()) in getFragmentsForOverloadedOperator()
965 Method->getExceptionSpecType())); in getFragmentsForOverloadedOperator()
1403 const ObjCMethodDecl *Method) { in getFragmentsForObjCMethod() argument
1406 if (Method->isClassMethod()) in getFragmentsForObjCMethod()
1408 else if (Method->isInstanceMethod()) in getFragmentsForObjCMethod()
1413 .append(getFragmentsForType(Method->getReturnType(), in getFragmentsForObjCMethod()
1414 Method->getASTContext(), After)) in getFragmentsForObjCMethod()
1419 Selector Selector = Method->getSelector(); in getFragmentsForObjCMethod()
1428 for (unsigned i = 0, end = Method->param_size(); i != end; ++i) { in getFragmentsForObjCMethod()
1439 const ParmVarDecl *Param = Method->getParamDecl(i); in getFragmentsForObjCMethod()
1626 DeclarationFragmentsBuilder::getSubHeading(const ObjCMethodDecl *Method) { in getSubHeading() argument
1628 if (Method->isClassMethod()) in getSubHeading()
1630 else if (Method->isInstanceMethod()) in getSubHeading()
1633 return Fragments.append(Method->getNameAsString(), in getSubHeading()