Internals: Cleanup cpp-check warnings. No functional change.
This commit is contained in:
parent
7a537765bc
commit
69b779b4a8
|
|
@ -130,7 +130,7 @@ public:
|
||||||
VlProcess()
|
VlProcess()
|
||||||
: m_state{RUNNING} {}
|
: m_state{RUNNING} {}
|
||||||
// Construct child process of parent
|
// Construct child process of parent
|
||||||
VlProcess(VlProcessRef parentp)
|
explicit VlProcess(VlProcessRef parentp)
|
||||||
: m_state{RUNNING}
|
: m_state{RUNNING}
|
||||||
, m_parentp{parentp} {
|
, m_parentp{parentp} {
|
||||||
m_parentp->attach(this);
|
m_parentp->attach(this);
|
||||||
|
|
|
||||||
|
|
@ -1472,10 +1472,10 @@ class VSelfPointerText final {
|
||||||
public:
|
public:
|
||||||
// CONSTRUCTORS
|
// CONSTRUCTORS
|
||||||
class Empty {}; // for creator type-overload selection
|
class Empty {}; // for creator type-overload selection
|
||||||
VSelfPointerText(Empty)
|
explicit VSelfPointerText(Empty)
|
||||||
: m_strp{s_emptyp} {}
|
: m_strp{s_emptyp} {}
|
||||||
class This {}; // for creator type-overload selection
|
class This {}; // for creator type-overload selection
|
||||||
VSelfPointerText(This)
|
explicit VSelfPointerText(This)
|
||||||
: m_strp{s_thisp} {}
|
: m_strp{s_thisp} {}
|
||||||
VSelfPointerText(This, const string& field)
|
VSelfPointerText(This, const string& field)
|
||||||
: m_strp{std::make_shared<const string>("this->" + field)} {}
|
: m_strp{std::make_shared<const string>("this->" + field)} {}
|
||||||
|
|
|
||||||
|
|
@ -3287,7 +3287,7 @@ public:
|
||||||
};
|
};
|
||||||
class AstTracePopPrefix final : public AstNodeStmt {
|
class AstTracePopPrefix final : public AstNodeStmt {
|
||||||
public:
|
public:
|
||||||
AstTracePopPrefix(FileLine* fl)
|
explicit AstTracePopPrefix(FileLine* fl)
|
||||||
: ASTGEN_SUPER_TracePopPrefix(fl) {}
|
: ASTGEN_SUPER_TracePopPrefix(fl) {}
|
||||||
ASTGEN_MEMBERS_AstTracePopPrefix;
|
ASTGEN_MEMBERS_AstTracePopPrefix;
|
||||||
bool same(const AstNode* samep) const override { return false; }
|
bool same(const AstNode* samep) const override { return false; }
|
||||||
|
|
|
||||||
|
|
@ -1288,8 +1288,8 @@ void schedule(AstNetlist* netlistp) {
|
||||||
if (it != actTimingDomains.end()) out = it->second;
|
if (it != actTimingDomains.end()) out = it->second;
|
||||||
if (vscp->varp()->isWrittenByDpi()) out.push_back(dpiExportTriggeredAct);
|
if (vscp->varp()->isWrittenByDpi()) out.push_back(dpiExportTriggeredAct);
|
||||||
if (vscp->varp()->sensIfacep()) {
|
if (vscp->varp()->sensIfacep()) {
|
||||||
const auto it = vifTriggeredAct.find(vscp->varp()->sensIfacep());
|
const auto sit = vifTriggeredAct.find(vscp->varp()->sensIfacep());
|
||||||
if (it != vifTriggeredAct.end()) out.push_back(it->second);
|
if (sit != vifTriggeredAct.end()) out.push_back(sit->second);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
splitCheck(actFuncp);
|
splitCheck(actFuncp);
|
||||||
|
|
@ -1325,8 +1325,8 @@ void schedule(AstNetlist* netlistp) {
|
||||||
if (it != timingDomains.end()) out = it->second;
|
if (it != timingDomains.end()) out = it->second;
|
||||||
if (vscp->varp()->isWrittenByDpi()) out.push_back(dpiExportTriggered);
|
if (vscp->varp()->isWrittenByDpi()) out.push_back(dpiExportTriggered);
|
||||||
if (vscp->varp()->sensIfacep()) {
|
if (vscp->varp()->sensIfacep()) {
|
||||||
const auto it = vifTriggered.find(vscp->varp()->sensIfacep());
|
const auto sit = vifTriggered.find(vscp->varp()->sensIfacep());
|
||||||
if (it != vifTriggered.end()) out.push_back(it->second);
|
if (sit != vifTriggered.end()) out.push_back(sit->second);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue