Internal: Minor style cleanups for next merge. No functional change.
This commit is contained in:
parent
ea8b416e91
commit
338ebcd6f0
|
|
@ -39,11 +39,11 @@ class VFlagLogicPacked {};
|
||||||
class VFlagBitPacked {};
|
class VFlagBitPacked {};
|
||||||
class VFlagChildDType {}; // Used by parser.y to select constructor that sets childDType
|
class VFlagChildDType {}; // Used by parser.y to select constructor that sets childDType
|
||||||
|
|
||||||
|
//######################################################################
|
||||||
|
|
||||||
// For broken() function, return error string if have a match
|
// For broken() function, return error string if have a match
|
||||||
#define BROKEN_RTN(test) do { if (VL_UNLIKELY(test)) return # test; } while(0)
|
#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
|
// (V)erilator (N)ode is: True if AstNode is of a a given AstType
|
||||||
#define VN_IS(nodep,nodetypename) (AstNode::privateIs ## nodetypename(nodep))
|
#define VN_IS(nodep,nodetypename) (AstNode::privateIs ## nodetypename(nodep))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5695,7 +5695,7 @@ public:
|
||||||
virtual V3Hash sameHash() const { return V3Hash(); }
|
virtual V3Hash sameHash() const { return V3Hash(); }
|
||||||
virtual bool same(const AstNode* samep) const { return true; }
|
virtual bool same(const AstNode* samep) const { return true; }
|
||||||
void addBodysp(AstNode* nodep) { addNOp1p(nodep); }
|
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 {
|
class AstSplitPlaceholder : public AstNode {
|
||||||
|
|
|
||||||
|
|
@ -1906,7 +1906,6 @@ void EmitCStmts::emitVarSort(const VarSortMap& vmap, VarVec* sortedp) {
|
||||||
void EmitCStmts::emitSortedVarList(const VarVec& anons,
|
void EmitCStmts::emitSortedVarList(const VarVec& anons,
|
||||||
const VarVec& nonanons,
|
const VarVec& nonanons,
|
||||||
const string& prefixIfImp) {
|
const string& prefixIfImp) {
|
||||||
string cur_mtask_footprint = "";
|
|
||||||
// Output anons
|
// Output anons
|
||||||
{
|
{
|
||||||
int anonMembers = anons.size();
|
int anonMembers = anons.size();
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,8 @@ public:
|
||||||
V3GraphEdge* beginp(GraphWay way) const {
|
V3GraphEdge* beginp(GraphWay way) const {
|
||||||
return way.forward() ? outBeginp() : inBeginp(); }
|
return way.forward() ? outBeginp() : inBeginp(); }
|
||||||
// METHODS
|
// 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);
|
std::ostream& operator<<(std::ostream& os, V3GraphVertex* vertexp);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue