Lines Matching defs:Method

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