C++11: Use member declaration initalizations. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-08-16 11:44:06 -04:00
parent 042d3eed23
commit 033e7ac020
55 changed files with 459 additions and 824 deletions
+3 -4
View File
@@ -183,7 +183,7 @@ private:
//
// STATE
int m_origStep; // Step number where subst was recorded
bool m_ok; // No misassignments found
bool m_ok = true; // No misassignments found
// METHODS
SubstVarEntry* findEntryp(AstVarRef* nodep) {
@@ -210,10 +210,9 @@ private:
public:
// CONSTRUCTORS
SubstUseVisitor(AstNode* nodep, int origStep) {
SubstUseVisitor(AstNode* nodep, int origStep)
: m_origStep(origStep) {
UINFO(9, " SubstUseVisitor " << origStep << " " << nodep << endl);
m_ok = true;
m_origStep = origStep;
iterate(nodep);
}
virtual ~SubstUseVisitor() override {}