Lines Matching defs:BaseDecl
2650 auto *BaseDecl =
2656 if (BaseDecl) {
2659 if (BaseDecl->isUnion()) {
2669 dyn_cast<ClassTemplateSpecializationDecl>(BaseDecl)) {
2682 BaseDecl = BaseDecl->getDefinition();
2683 assert(BaseDecl && "Base type is not incomplete, but has no definition");
2688 const auto *BaseCSA = BaseDecl->getAttr<CodeSegAttr>();
2694 Diag(BaseDecl->getLocation(), diag::note_base_class_specified_here)
2695 << BaseDecl;
2705 if (BaseDecl->hasFlexibleArrayMember()) {
2707 << BaseDecl->getDeclName();
2714 if (FinalAttr *FA = BaseDecl->getAttr<FinalAttr>()) {
2716 << BaseDecl->getDeclName() << FA->isSpelledAsSealed();
2717 Diag(BaseDecl->getLocation(), diag::note_entity_declared_at)
2718 << BaseDecl->getDeclName() << FA->getRange();
2723 if (BaseDecl->isInvalidDecl())