mirror of
https://github.com/verilator/verilator.git
synced 2025-01-04 05:37:48 +00:00
Internals: Fix missing broken check
This commit is contained in:
parent
51ba4a1531
commit
4240c29f4b
@ -115,6 +115,7 @@ void AstNodeUOrStructDType::repairMemberCache() {
|
||||
}
|
||||
|
||||
const char* AstNodeUOrStructDType::broken() const {
|
||||
BROKEN_RTN(m_classOrPackagep && !m_classOrPackagep->brokeExists());
|
||||
std::unordered_set<AstMemberDType*> exists;
|
||||
for (AstMemberDType* itemp = membersp(); itemp; itemp = VN_AS(itemp->nextp(), MemberDType)) {
|
||||
exists.insert(itemp);
|
||||
|
Loading…
Reference in New Issue
Block a user