diff --git a/src/V3Ast.h b/src/V3Ast.h index 44d3b755b..27776fe86 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -1080,9 +1080,6 @@ public: // - Also used to allow parameter passing up/down iterate calls class WidthVP; -class LinkVP; -class OrderBlockNU; -class OrderVarNU; class V3GraphVertex; class VSymEnt; @@ -1104,14 +1101,10 @@ public: ~VNUser() {} // Casters WidthVP* c() { return ((WidthVP*)m_u.up); } - LinkVP* toLinkVP() { return ((LinkVP*)m_u.up); } VSymEnt* toSymEnt() { return ((VSymEnt*)m_u.up); } AstNode* toNodep() { return ((AstNode*)m_u.up); } - OrderBlockNU* toOrderBlock() { return ((OrderBlockNU*)m_u.up); } - OrderVarNU* toOrderVar() { return ((OrderVarNU*)m_u.up); } V3GraphVertex* toGraphVertex() { return ((V3GraphVertex*)m_u.up); } inline int toInt() { return m_u.ui; } - static inline VNUser fromZero() { return VNUser(0); } static inline VNUser fromInt(int i) { return VNUser(i); } }; diff --git a/src/V3Error.h b/src/V3Error.h index a5f5d7135..fd0b9d61e 100644 --- a/src/V3Error.h +++ b/src/V3Error.h @@ -253,7 +253,6 @@ public: static string msgPrefix(); // returns %Error/%Warn static int errorCount() { return s_errCount; } static int warnCount() { return s_warnCount; } - static int errorOrWarnCount() { return errorCount() + warnCount(); } static bool errorContexted() { return s_errorContexted; } static void errorContexted(bool flag) { s_errorContexted = flag; } // METHODS