Internal: Minor style cleanups for next merge. No functional change.

This commit is contained in:
Wilson Snyder 2018-07-14 17:27:05 -04:00
parent ea8b416e91
commit 338ebcd6f0
4 changed files with 5 additions and 5 deletions

View File

@ -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))

View File

@ -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 {

View File

@ -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();

View File

@ -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);