Lines Matching refs:CMD
660 auto GetMethodType = [this, St, MTA](const CXXMethodDecl *CMD, FuncType &Type,
662 if (isa<CXXConstructorDecl, CXXDestructorDecl>(CMD)) {
664 << IsCallee << isa<CXXDestructorDecl>(CMD);
666 Diag(CMD->getBeginLoc(), diag::note_musttail_structors_forbidden)
667 << isa<CXXDestructorDecl>(CMD);
671 if (CMD->isStatic())
674 Type.This = CMD->getThisType()->getPointeeType();
677 Type.Func = CMD->getType()->castAs<FunctionProtoType>();
695 } else if (const auto *CMD = dyn_cast<CXXMethodDecl>(CurContext)) {
697 if (!GetMethodType(CMD, CallerType, false))
711 if (const CXXMethodDecl *CMD =
714 if (!GetMethodType(CMD, CalleeType, true))