Lines Matching refs:OMD
1272 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) {
1273 if (OMD->isInstanceMethod())
1277 if (!OMD->getReturnType().isNull()) {
1278 PrintObjCMethodType(OMD->getASTContext(), OMD->getObjCDeclQualifier(),
1279 OMD->getReturnType());
1282 std::string name = OMD->getSelector().getAsString();
1284 for (const auto *PI : OMD->parameters()) {
1290 PrintObjCMethodType(OMD->getASTContext(),
1297 if (OMD->param_begin() == OMD->param_end())
1300 if (OMD->isVariadic())
1303 prettyPrintAttributes(OMD);
1305 if (OMD->getBody() && !Policy.TerseOutput) {
1307 OMD->getBody()->printPretty(Out, nullptr, Policy, Indentation, "\n",