forked from github/verilator
Internals: Add missing const. No functional change.
This commit is contained in:
parent
0322e9da7e
commit
de9c92fd14
@ -126,7 +126,7 @@ private:
|
||||
|
||||
// STATE
|
||||
AstNodeModule* m_modp = nullptr; // Current module
|
||||
AstNodeFTask* m_ftaskp = nullptr; // Current function/task
|
||||
const AstNodeFTask* m_ftaskp = nullptr; // Current function/task
|
||||
size_t m_enumValueTabCount = 0; // Number of tables with enum values created
|
||||
int m_randCaseNum = 0; // Randcase number within a module for var naming
|
||||
|
||||
|
@ -228,7 +228,7 @@ void V3Stats::statsReport() {
|
||||
std::ofstream* ofp{V3File::new_ofstream(filename)};
|
||||
if (ofp->fail()) v3fatal("Can't write " << filename);
|
||||
|
||||
const StatsReport reporter(ofp);
|
||||
{ StatsReport{ofp}; } // Destruct before cleanup
|
||||
|
||||
// Cleanup
|
||||
ofp->close();
|
||||
|
@ -118,7 +118,7 @@ class VariableOrder final {
|
||||
V3TSP::StateVec states;
|
||||
for (const auto& pair : m2v) {
|
||||
if (pair.first.empty()) continue;
|
||||
states.push_back(new VarTspSorter(pair.first));
|
||||
states.push_back(new VarTspSorter{pair.first});
|
||||
}
|
||||
|
||||
// Do the TSP sort
|
||||
|
Loading…
Reference in New Issue
Block a user