mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Fix some cppcheck issues. Some dump functions fixed.
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ private:
|
||||
&& m_accessors(nodep).size() == 1); // .. a block temp used in a single CFunc
|
||||
}
|
||||
|
||||
bool existsNonLeaf(const std::unordered_set<AstCFunc*>& funcps) {
|
||||
static bool existsNonLeaf(const std::unordered_set<AstCFunc*>& funcps) {
|
||||
for (const AstCFunc* const funcp : funcps) {
|
||||
if (funcp->user1()) return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user