mirror of
https://github.com/verilator/verilator.git
synced 2025-01-21 05:44:03 +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 {
|
const char* AstNodeUOrStructDType::broken() const {
|
||||||
|
BROKEN_RTN(m_classOrPackagep && !m_classOrPackagep->brokeExists());
|
||||||
std::unordered_set<AstMemberDType*> exists;
|
std::unordered_set<AstMemberDType*> exists;
|
||||||
for (AstMemberDType* itemp = membersp(); itemp; itemp = VN_AS(itemp->nextp(), MemberDType)) {
|
for (AstMemberDType* itemp = membersp(); itemp; itemp = VN_AS(itemp->nextp(), MemberDType)) {
|
||||||
exists.insert(itemp);
|
exists.insert(itemp);
|
||||||
|
Loading…
Reference in New Issue
Block a user