Internals: Cleanup cppcheck warnings.

This commit is contained in:
Wilson Snyder
2015-10-03 22:33:06 -04:00
parent f1874b211f
commit 318ded4198
90 changed files with 196 additions and 147 deletions
+3 -3
View File
@@ -54,7 +54,7 @@ private:
}
public:
// CONSTUCTORS
ConstVarMarkVisitor(AstNode* nodep) {
explicit ConstVarMarkVisitor(AstNode* nodep) {
AstNode::user4ClearTree(); // Check marked InUse before we're called
nodep->accept(*this);
}
@@ -76,7 +76,7 @@ private:
}
public:
// CONSTUCTORS
ConstVarFindVisitor(AstNode* nodep) {
explicit ConstVarFindVisitor(AstNode* nodep) {
m_found = false;
nodep->iterateAndNext(*this, NULL);
}
@@ -2292,7 +2292,7 @@ public:
};
// CONSTUCTORS
ConstVisitor(ProcMode pmode) {
explicit ConstVisitor(ProcMode pmode) {
m_params = false;
m_required = false;
m_doExpensive = false;