Internals: Rename NodeClassDType. No functional change.

This commit is contained in:
Wilson Snyder
2019-12-16 22:46:09 -05:00
parent f514049c04
commit 53c6b7df63
13 changed files with 42 additions and 40 deletions
+2 -2
View File
@@ -373,11 +373,11 @@ private:
}
for (std::vector<AstNode*>::iterator it = m_dtypesp.begin(); it != m_dtypesp.end();++it) {
if ((*it)->user1() == 0) {
AstNodeClassDType *classp;
AstNodeUOrStructDType *classp;
// It's possible that there if a reference to each individual member, but
// not to the dtype itself. Check and don't remove the parent dtype if
// members are still alive.
if ((classp = VN_CAST((*it), NodeClassDType))) {
if ((classp = VN_CAST((*it), NodeUOrStructDType))) {
bool cont = true;
for (AstMemberDType *memberp = classp->membersp();
memberp; memberp = VN_CAST(memberp->nextp(), MemberDType)) {