Internals: Remove AstCondBound and AstNodeCond (#6293) (#6294)

Fixes #6293
This commit is contained in:
Geza Lore
2025-08-15 15:49:06 -07:00
committed by GitHub
parent d273e2cbd0
commit 6f69c990fd
18 changed files with 70 additions and 114 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ private:
if (nodep->thensp()) nodep->thensp()->user2(0); // Don't dump it
}
}
void visit(AstNodeCond* nodep) override {
void visit(AstCond* nodep) override {
if (m_ignoreRemaining) return;
// Just like if/else above, the ternary operator only evaluates
// one of the two expressions, so only count the max.