Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp803 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); in numStructUnionElements() local
805 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(structDecl)) in numStructUnionElements()
807 for (const auto *Field : structDecl->fields()) in numStructUnionElements()
811 if (structDecl->isUnion()) in numStructUnionElements()
813 return InitializableMembers - structDecl->hasFlexibleArrayMember(); in numStructUnionElements()
1743 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); in CheckStructUnionTypes() local
1747 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes()