mirror of
https://github.com/verilator/verilator.git
synced 2025-04-05 04:02:37 +00:00
Internals: Cleanup cpp-check warnings. No functional change.
This commit is contained in:
parent
7a537765bc
commit
69b779b4a8
@ -130,7 +130,7 @@ public:
|
||||
VlProcess()
|
||||
: m_state{RUNNING} {}
|
||||
// Construct child process of parent
|
||||
VlProcess(VlProcessRef parentp)
|
||||
explicit VlProcess(VlProcessRef parentp)
|
||||
: m_state{RUNNING}
|
||||
, m_parentp{parentp} {
|
||||
m_parentp->attach(this);
|
||||
|
@ -1472,10 +1472,10 @@ class VSelfPointerText final {
|
||||
public:
|
||||
// CONSTRUCTORS
|
||||
class Empty {}; // for creator type-overload selection
|
||||
VSelfPointerText(Empty)
|
||||
explicit VSelfPointerText(Empty)
|
||||
: m_strp{s_emptyp} {}
|
||||
class This {}; // for creator type-overload selection
|
||||
VSelfPointerText(This)
|
||||
explicit VSelfPointerText(This)
|
||||
: m_strp{s_thisp} {}
|
||||
VSelfPointerText(This, const string& field)
|
||||
: m_strp{std::make_shared<const string>("this->" + field)} {}
|
||||
|
@ -3287,7 +3287,7 @@ public:
|
||||
};
|
||||
class AstTracePopPrefix final : public AstNodeStmt {
|
||||
public:
|
||||
AstTracePopPrefix(FileLine* fl)
|
||||
explicit AstTracePopPrefix(FileLine* fl)
|
||||
: ASTGEN_SUPER_TracePopPrefix(fl) {}
|
||||
ASTGEN_MEMBERS_AstTracePopPrefix;
|
||||
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 (vscp->varp()->isWrittenByDpi()) out.push_back(dpiExportTriggeredAct);
|
||||
if (vscp->varp()->sensIfacep()) {
|
||||
const auto it = vifTriggeredAct.find(vscp->varp()->sensIfacep());
|
||||
if (it != vifTriggeredAct.end()) out.push_back(it->second);
|
||||
const auto sit = vifTriggeredAct.find(vscp->varp()->sensIfacep());
|
||||
if (sit != vifTriggeredAct.end()) out.push_back(sit->second);
|
||||
}
|
||||
});
|
||||
splitCheck(actFuncp);
|
||||
@ -1325,8 +1325,8 @@ void schedule(AstNetlist* netlistp) {
|
||||
if (it != timingDomains.end()) out = it->second;
|
||||
if (vscp->varp()->isWrittenByDpi()) out.push_back(dpiExportTriggered);
|
||||
if (vscp->varp()->sensIfacep()) {
|
||||
const auto it = vifTriggered.find(vscp->varp()->sensIfacep());
|
||||
if (it != vifTriggered.end()) out.push_back(it->second);
|
||||
const auto sit = vifTriggered.find(vscp->varp()->sensIfacep());
|
||||
if (sit != vifTriggered.end()) out.push_back(sit->second);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user