Internals: Use specific types on some cloneTrees. No functional change.

This commit is contained in:
Wilson Snyder
2023-09-08 21:51:59 -04:00
parent 6e977e1024
commit 2f2f0164ff
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ private:
ifp = nextifp;
} while (ifp);
AstNode* const newifp = nodep->cloneTree(false);
AstIf* const newifp = nodep->cloneTree(false);
const bool allow_none = nodep->unique0Pragma();
// Empty case means no property