Lines Matching refs:CXXMethodDecl
434 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
546 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
933 void CXXRecordDecl::finishedDefaultedOrDeletedMember(CXXMethodDecl *D) {
984 CXXMethodDecl* CXXRecordDecl::getLambdaCallOperator() const {
996 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl());
998 return cast<CXXMethodDecl>(CallOp);
1001 CXXMethodDecl* CXXRecordDecl::getLambdaStaticInvoker() const {
1011 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl());
1013 return cast<CXXMethodDecl>(InvokerFun);
1037 CXXMethodDecl *CallOp = getLambdaCallOperator();
1394 void CXXMethodDecl::anchor() { }
1396 bool CXXMethodDecl::isStatic() const {
1397 const CXXMethodDecl *MD = getCanonicalDecl();
1406 static bool recursivelyOverrides(const CXXMethodDecl *DerivedMD,
1407 const CXXMethodDecl *BaseMD) {
1408 for (CXXMethodDecl::method_iterator I = DerivedMD->begin_overridden_methods(),
1410 const CXXMethodDecl *MD = *I;
1419 CXXMethodDecl *
1420 CXXMethodDecl::getCorrespondingMethodInClass(const CXXRecordDecl *RD,
1427 CXXMethodDecl *MD = RD->getDestructor();
1438 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ND);
1452 CXXMethodDecl *T = this->getCorrespondingMethodInClass(Base);
1460 CXXMethodDecl *
1461 CXXMethodDecl::Create(ASTContext &C, CXXRecordDecl *RD,
1467 return new (C, RD) CXXMethodDecl(CXXMethod, C, RD, StartLoc, NameInfo,
1472 CXXMethodDecl *CXXMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
1473 return new (C, ID) CXXMethodDecl(CXXMethod, C, nullptr, SourceLocation(),
1478 bool CXXMethodDecl::isUsualDeallocationFunction() const {
1520 bool CXXMethodDecl::isCopyAssignmentOperator() const {
1541 bool CXXMethodDecl::isMoveAssignmentOperator() const {
1562 void CXXMethodDecl::addOverriddenMethod(const CXXMethodDecl *MD) {
1571 CXXMethodDecl::method_iterator CXXMethodDecl::begin_overridden_methods() const {
1576 CXXMethodDecl::method_iterator CXXMethodDecl::end_overridden_methods() const {
1581 unsigned CXXMethodDecl::size_overridden_methods() const {
1586 QualType CXXMethodDecl::getThisType(ASTContext &C) const {
1601 bool CXXMethodDecl::hasInlineBody() const {
1612 bool CXXMethodDecl::isLambdaStaticInvoker() const {
1615 if (const CXXMethodDecl *StaticInvoker = P->getLambdaStaticInvoker()) {