diff --git a/src/V3Ast.h b/src/V3Ast.h index 60299f963..bb2b42198 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -39,11 +39,11 @@ class VFlagLogicPacked {}; class VFlagBitPacked {}; class VFlagChildDType {}; // Used by parser.y to select constructor that sets childDType +//###################################################################### + // For broken() function, return error string if have a match #define BROKEN_RTN(test) do { if (VL_UNLIKELY(test)) return # test; } while(0) -//###################################################################### - // (V)erilator (N)ode is: True if AstNode is of a a given AstType #define VN_IS(nodep,nodetypename) (AstNode::privateIs ## nodetypename(nodep)) diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index 0d32427a0..fb01664a0 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -5695,7 +5695,7 @@ public: virtual V3Hash sameHash() const { return V3Hash(); } virtual bool same(const AstNode* samep) const { return true; } void addBodysp(AstNode* nodep) { addNOp1p(nodep); } - AstNode* bodysp() const { return op1p(); } // op1= expressions to print + AstNode* bodysp() const { return op1p(); } // op1= expressions to print }; class AstSplitPlaceholder : public AstNode { diff --git a/src/V3EmitC.cpp b/src/V3EmitC.cpp index 6ccd779ca..8623a4398 100644 --- a/src/V3EmitC.cpp +++ b/src/V3EmitC.cpp @@ -1906,7 +1906,6 @@ void EmitCStmts::emitVarSort(const VarSortMap& vmap, VarVec* sortedp) { void EmitCStmts::emitSortedVarList(const VarVec& anons, const VarVec& nonanons, const string& prefixIfImp) { - string cur_mtask_footprint = ""; // Output anons { int anonMembers = anons.size(); diff --git a/src/V3Graph.h b/src/V3Graph.h index 355497468..ab740f21e 100644 --- a/src/V3Graph.h +++ b/src/V3Graph.h @@ -247,7 +247,8 @@ public: V3GraphEdge* beginp(GraphWay way) const { return way.forward() ? outBeginp() : inBeginp(); } // METHODS - void rerouteEdges(V3Graph* graphp); ///< Edges are routed around this vertex to point from "from" directly to "to" + /// Edges are routed around this vertex to point from "from" directly to "to" + void rerouteEdges(V3Graph* graphp); }; std::ostream& operator<<(std::ostream& os, V3GraphVertex* vertexp);