Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaInit.cpp986 RecordDecl *structDecl = DeclType->castAs<RecordType>()->getDecl(); in numStructUnionElements() local
988 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(structDecl)) in numStructUnionElements()
990 for (const auto *Field : structDecl->fields()) in numStructUnionElements()
994 if (structDecl->isUnion()) in numStructUnionElements()
996 return InitializableMembers - structDecl->hasFlexibleArrayMember(); in numStructUnionElements()
2041 RecordDecl *structDecl = DeclType->castAs<RecordType>()->getDecl(); in CheckStructUnionTypes() local
2045 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes()