Lines Matching defs:BaseDecl
2695 auto *BaseDecl =
2701 if (BaseDecl) {
2704 if (BaseDecl->isUnion()) {
2723 dyn_cast<ClassTemplateSpecializationDecl>(BaseDecl)) {
2736 BaseDecl = BaseDecl->getDefinition();
2737 assert(BaseDecl && "Base type is not incomplete, but has no definition");
2742 const auto *BaseCSA = BaseDecl->getAttr<CodeSegAttr>();
2748 Diag(BaseDecl->getLocation(), diag::note_base_class_specified_here)
2749 << BaseDecl;
2759 if (BaseDecl->hasFlexibleArrayMember()) {
2761 << BaseDecl->getDeclName();
2768 if (FinalAttr *FA = BaseDecl->getAttr<FinalAttr>()) {
2770 << BaseDecl->getDeclName() << FA->isSpelledAsSealed();
2771 Diag(BaseDecl->getLocation(), diag::note_entity_declared_at)
2772 << BaseDecl->getDeclName() << FA->getRange();
2777 if (BaseDecl->isInvalidDecl())