mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Fix remaining cppcheck errors (#6319)
Fixed the non const-related issue and added suppressions for the const ones. With that `make cppcheck` should be clean.
This commit is contained in:
@@ -210,6 +210,7 @@ class VariableOrder final {
|
||||
sortAndAppend(m2v[emptyVec]);
|
||||
}
|
||||
|
||||
// cppcheck-suppress constParameterPointer
|
||||
void orderModuleVars(AstNodeModule* modp) {
|
||||
// Unlink all module variables from the module, compute attributes
|
||||
for (AstNode *nodep = modp->stmtsp(), *nextp; nodep; nodep = nextp) {
|
||||
|
||||
Reference in New Issue
Block a user