Lines Matching defs:CMD
746 auto GetMethodType = [this, St, MTA](const CXXMethodDecl *CMD, FuncType &Type,
748 if (isa<CXXConstructorDecl, CXXDestructorDecl>(CMD)) {
750 << IsCallee << isa<CXXDestructorDecl>(CMD);
752 Diag(CMD->getBeginLoc(), diag::note_musttail_structors_forbidden)
753 << isa<CXXDestructorDecl>(CMD);
757 if (CMD->isStatic())
760 Type.This = CMD->getFunctionObjectParameterType();
763 Type.Func = CMD->getType()->castAs<FunctionProtoType>();
781 } else if (const auto *CMD = dyn_cast<CXXMethodDecl>(CurContext)) {
783 if (!GetMethodType(CMD, CallerType, false))
797 if (const CXXMethodDecl *CMD =
800 if (!GetMethodType(CMD, CalleeType, true))