Internals: Add more const. No functional change intended.

This commit is contained in:
Wilson Snyder
2021-11-13 13:50:44 -05:00
parent 4cb5c1e1db
commit 37e3c6da70
85 changed files with 1172 additions and 1115 deletions
+3 -3
View File
@@ -38,7 +38,7 @@ private:
// MEMBERS
uint32_t m_instrCount = 0; // Running count of instructions
const AstNode* m_startNodep; // Start node of count
const AstNode* const m_startNodep; // Start node of count
bool m_tracingCall = false; // Iterating into a CCall to a CFunc
bool m_inCFunc = false; // Inside AstCFunc
bool m_assertNoDups; // Check for duplicates
@@ -50,8 +50,8 @@ private:
private:
// MEMBERS
uint32_t m_savedCount;
AstNode* m_nodep;
InstrCountVisitor* m_visitor;
AstNode* const m_nodep;
InstrCountVisitor* const m_visitor;
public:
// CONSTRUCTORS