Home
last modified time | relevance | path

Searched refs:CXXBaseDecl (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp2537 CXXRecordDecl *CXXBaseDecl = cast<CXXRecordDecl>(BaseDecl); in CheckBaseSpecifier() local
2538 assert(CXXBaseDecl && "Base type is not a C++ type"); in CheckBaseSpecifier()
2543 const auto *BaseCSA = CXXBaseDecl->getAttr<CodeSegAttr>(); in CheckBaseSpecifier()
2548 Diag(CXXBaseDecl->getLocation(), diag::note_base_class_specified_here) in CheckBaseSpecifier()
2549 << CXXBaseDecl; in CheckBaseSpecifier()
2559 if (CXXBaseDecl->hasFlexibleArrayMember()) { in CheckBaseSpecifier()
2561 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier()
2568 if (FinalAttr *FA = CXXBaseDecl->getAttr<FinalAttr>()) { in CheckBaseSpecifier()
2570 << CXXBaseDecl->getDeclName() in CheckBaseSpecifier()
2572 Diag(CXXBaseDecl->getLocation(), diag::note_entity_declared_at) in CheckBaseSpecifier()
[all …]
/external/clang/lib/Sema/
DSemaDeclCXX.cpp1437 CXXRecordDecl *CXXBaseDecl = cast<CXXRecordDecl>(BaseDecl); in CheckBaseSpecifier() local
1438 assert(CXXBaseDecl && "Base type is not a C++ type"); in CheckBaseSpecifier()
1446 if (CXXBaseDecl->hasFlexibleArrayMember()) { in CheckBaseSpecifier()
1448 << CXXBaseDecl->getDeclName(); in CheckBaseSpecifier()
1455 if (FinalAttr *FA = CXXBaseDecl->getAttr<FinalAttr>()) { in CheckBaseSpecifier()
1457 << CXXBaseDecl->getDeclName() in CheckBaseSpecifier()
1459 Diag(CXXBaseDecl->getLocation(), diag::note_entity_declared_at) in CheckBaseSpecifier()
1460 << CXXBaseDecl->getDeclName() << FA->getRange(); in CheckBaseSpecifier()