Lines Matching defs:OMD
1385 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) {
1386 if (OMD->isInstanceMethod())
1390 if (!OMD->getReturnType().isNull()) {
1391 PrintObjCMethodType(OMD->getASTContext(), OMD->getObjCDeclQualifier(),
1392 OMD->getReturnType());
1395 std::string name = OMD->getSelector().getAsString();
1397 for (const auto *PI : OMD->parameters()) {
1403 PrintObjCMethodType(OMD->getASTContext(),
1410 if (OMD->param_begin() == OMD->param_end())
1413 if (OMD->isVariadic())
1416 prettyPrintAttributes(OMD);
1418 if (OMD->getBody() && !Policy.TerseOutput) {
1420 OMD->getBody()->printPretty(Out, nullptr, Policy, Indentation, "\n",