Lines Matching refs:CXXMethodDecl
1333 static bool IsDisallowedCopyOrAssign(const CXXMethodDecl *D) {
1341 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D))
1395 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {
2526 Sema::CXXSpecialMember Sema::getSpecialMember(const CXXMethodDecl *MD) {
2705 if (!isa<CXXMethodDecl>(New) && !isa<CXXMethodDecl>(Old) &&
2902 const CXXMethodDecl *OldMethod = dyn_cast<CXXMethodDecl>(Old);
2903 CXXMethodDecl *NewMethod = dyn_cast<CXXMethodDecl>(New);
5452 if (auto *MD = dyn_cast<CXXMethodDecl>(&ND))
6322 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewDC))
6722 CXXMethodDecl *Method;
6745 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D)) {
6764 static void ReportOverrides(Sema& S, unsigned DiagID, const CXXMethodDecl *MD,
6767 for (CXXMethodDecl::method_iterator I = MD->begin_overridden_methods(),
6782 bool Sema::AddOverriddenMethods(CXXRecordDecl *DC, CXXMethodDecl *MD) {
6793 if (CXXMethodDecl *OldMD = dyn_cast<CXXMethodDecl>(I)) {
6851 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {
6904 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD);
6990 if (CXXMethodDecl *NewMD = dyn_cast<CXXMethodDecl>(NewFD))
6997 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
7175 CXXMethodDecl *Ret = CXXMethodDecl::Create(SemaRef.Context,
7449 if (Parent->isInterface() && cast<CXXMethodDecl>(NewFD)->isUserProvided())
7749 if (isa<CXXMethodDecl>(NewFD) && DC == CurContext &&
7757 if (SC == SC_Static && isa<CXXMethodDecl>(NewFD) &&
8046 } else if (isExplicitSpecialization && isa<CXXMethodDecl>(NewFD)) {
8166 isa<CXXMethodDecl>(NewFD) && NewFD->isOutOfLine() &&
8283 cast<CXXMethodDecl>(NewFD),
8406 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD);
8410 CXXMethodDecl *OldMD = nullptr;
8412 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction());
8452 if (CXXMethodDecl *Method
8453 = dyn_cast<CXXMethodDecl>(NewTemplateDecl->getTemplatedDecl())) {
8470 if (isa<CXXMethodDecl>(NewFD))
8504 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD)) {
8940 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl());
9188 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) {
10674 void Sema::ActOnFinishInlineMethodDef(CXXMethodDecl *D) {
10689 if (isa<CXXMethodDecl>(FD))
10775 static void RebuildLambdaScopeInfo(CXXMethodDecl *CallOperator,
10858 RebuildLambdaScopeInfo(cast<CXXMethodDecl>(D), *this);
11146 if (auto *MD = dyn_cast<CXXMethodDecl>(FD)) {
11147 const CXXMethodDecl *KeyFunction;
11313 if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(D))