mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: cppcheck 1.90 fixes. No functional change intended.
This commit is contained in:
@@ -116,6 +116,7 @@ public:
|
||||
// ACCESSOR METHODS
|
||||
void addSrcDepend(const string& filename) {
|
||||
if (m_filenameSet.find(filename) == m_filenameSet.end()) {
|
||||
// cppcheck-suppress stlFindInsert // cppcheck 1.90 bug
|
||||
m_filenameSet.insert(filename);
|
||||
DependFile df (filename, false);
|
||||
df.loadStats(); // Get size now, in case changes during the run
|
||||
@@ -124,6 +125,7 @@ public:
|
||||
}
|
||||
void addTgtDepend(const string& filename) {
|
||||
if (m_filenameSet.find(filename) == m_filenameSet.end()) {
|
||||
// cppcheck-suppress stlFindInsert // cppcheck 1.90 bug
|
||||
m_filenameSet.insert(filename);
|
||||
m_filenameList.insert(DependFile(filename, true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user