Lines Matching refs:MD
644 auto *MD = dyn_cast_or_null<CXXMethodDecl>(D);
645 if (!MD || !MD->getDeclName().getAsIdentifierInfo() ||
646 !MD->getDeclName().getAsIdentifierInfo()->isStr("allocate") ||
647 (MD->getNumParams() != 1 && MD->getNumParams() != 2))
650 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType())
653 if (MD->getNumParams() == 2) {
654 auto *PT = MD->parameters()[1]->getType()->getAs<PointerType>();
666 if (const auto *MD = dyn_cast<CXXMethodDecl>(FD))
667 if (!MD->isStatic())
1055 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
1056 if (MD->getParent()->isLambda() &&
1057 MD->getOverloadedOperator() == OO_Call) {
1059 MD->getParent()->getCaptureFields(LambdaCaptureFields,
1079 for (auto *FD : MD->getParent()->fields()) {
1098 QualType ThisTy = MD->getThisType();
1103 if (isLambdaCallOperator(MD) &&
1104 MD->getParent()->getLambdaCaptureDefault() == LCD_None)
1107 EmitTypeCheck(isa<CXXConstructorDecl>(MD) ? TCK_ConstructorCall
1195 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
1196 if (MD && MD->isInstance()) {
1198 ResTy = MD->getThisType();
1227 if (MD && (isa<CXXConstructorDecl>(MD) || isa<CXXDestructorDecl>(MD)))