mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 18:06:07 +02:00
Remove redundant 'inline' keywords from definitions
Also add checks to t/t_dist_cppstyle
This commit is contained in:
+3
-3
@@ -94,18 +94,18 @@ public:
|
||||
consumed();
|
||||
}
|
||||
~LifeVarEntry() = default;
|
||||
inline void simpleAssign(AstNodeAssign* assp) { // New simple A=.... assignment
|
||||
void simpleAssign(AstNodeAssign* assp) { // New simple A=.... assignment
|
||||
m_assignp = assp;
|
||||
m_constp = nullptr;
|
||||
m_everSet = true;
|
||||
if (VN_IS(assp->rhsp(), Const)) m_constp = VN_AS(assp->rhsp(), Const);
|
||||
}
|
||||
inline void complexAssign() { // A[x]=... or some complicated assignment
|
||||
void complexAssign() { // A[x]=... or some complicated assignment
|
||||
m_assignp = nullptr;
|
||||
m_constp = nullptr;
|
||||
m_everSet = true;
|
||||
}
|
||||
inline void consumed() { // Rvalue read of A
|
||||
void consumed() { // Rvalue read of A
|
||||
m_assignp = nullptr;
|
||||
}
|
||||
AstNodeAssign* assignp() const { return m_assignp; }
|
||||
|
||||
Reference in New Issue
Block a user