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
+4 -8
View File
@@ -1287,10 +1287,10 @@ unsigned EmitVarTspSorter::m_serialNext = 0;
class EmitCImp : EmitCStmts {
// MEMBERS
AstNodeModule* m_modp;
AstNodeModule* m_modp = nullptr;
std::vector<AstChangeDet*> m_blkChangeDetVec; // All encountered changes in block
bool m_slow; // Creating __Slow file
bool m_fast; // Creating non __Slow file (or both)
bool m_slow = false; // Creating __Slow file
bool m_fast = false; // Creating non __Slow file (or both)
//---------------------------------------
// METHODS
@@ -1771,11 +1771,7 @@ class EmitCImp : EmitCStmts {
void maybeSplit(AstNodeModule* modp);
public:
EmitCImp() {
m_modp = nullptr;
m_slow = false;
m_fast = false;
}
EmitCImp() {}
virtual ~EmitCImp() override {}
void mainImp(AstNodeModule* modp, bool slow);
void mainInt(AstNodeModule* modp);