Lines Matching defs:CMD
701 auto GetMethodType = [this, St, MTA](const CXXMethodDecl *CMD, FuncType &Type,
703 if (isa<CXXConstructorDecl, CXXDestructorDecl>(CMD)) {
705 << IsCallee << isa<CXXDestructorDecl>(CMD);
707 Diag(CMD->getBeginLoc(), diag::note_musttail_structors_forbidden)
708 << isa<CXXDestructorDecl>(CMD);
712 if (CMD->isStatic())
715 Type.This = CMD->getFunctionObjectParameterType();
718 Type.Func = CMD->getType()->castAs<FunctionProtoType>();
736 } else if (const auto *CMD = dyn_cast<CXXMethodDecl>(CurContext)) {
738 if (!GetMethodType(CMD, CallerType, false))
752 if (const CXXMethodDecl *CMD =
755 if (!GetMethodType(CMD, CalleeType, true))