Internals: Fix hash and comparison function for AstBasicDType (#4564)

This commit is contained in:
Anthony Donlon
2023-10-15 15:15:46 -04:00
committed by GitHub
parent 4fdaa46328
commit bba3487dc4
2 changed files with 4 additions and 5 deletions
+1
View File
@@ -143,6 +143,7 @@ private:
void visit(AstBasicDType* nodep) override {
m_hash += hashNodeAndIterate(nodep, false, HASH_CHILDREN, [=]() {
m_hash += nodep->keyword();
m_hash += nodep->numeric();
m_hash += nodep->nrange().left();
m_hash += nodep->nrange().right();
});