diff --git a/src/V3Ast.cpp b/src/V3Ast.cpp index 30ebd67cf..2c4353ffb 100644 --- a/src/V3Ast.cpp +++ b/src/V3Ast.cpp @@ -808,7 +808,8 @@ AstNode* AstNode::cloneTreeIter(bool needPure) { "Expression side effect may be mishandled\n" << this->warnMore() << "... Suggest use a temporary variable in place of this expression"); - // this->v3fatalSrc("cloneTreePure debug backtrace"); // Comment in to debug where caused it + // this->v3fatalSrc("cloneTreePure debug backtrace"); // Comment in to debug where caused + // it } AstNode* const newp = this->clone(); if (this->m_op1p) newp->op1p(this->m_op1p->cloneTreeIterList(needPure)); diff --git a/src/V3Ast.h b/src/V3Ast.h index 402f4b8eb..8e97c4e34 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -2074,7 +2074,8 @@ public: AstNode* belowp); // When calling, "this" is second argument // METHODS - Iterate on a tree - AstNode* cloneTree(bool cloneNextLink, bool needPure = false); // Not const, as sets clonep() on original nodep + AstNode* cloneTree(bool cloneNextLink, + bool needPure = false); // Not const, as sets clonep() on original nodep AstNode* cloneTreePure(bool cloneNextLink) { return cloneTree(cloneNextLink, true); } bool gateTree() { return gateTreeIter(); } // Is tree isGateOptimizable? inline bool sameTree(const AstNode* node2p) const; // Does tree of this == node2p?