Internals: Add const. No functional change.

This commit is contained in:
Wilson Snyder
2021-06-20 18:33:13 -04:00
parent ec4eb18846
commit 512fe0a2d1
87 changed files with 690 additions and 669 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ private:
virtual void visit(AstNodeAssign* nodep) override {
startStatement(nodep);
{
bool noopt = PremitAssignVisitor(nodep).noOpt();
const bool noopt = PremitAssignVisitor(nodep).noOpt();
if (noopt && !nodep->user1()) {
nodep->user1(true);
// Need to do this even if not wide, as e.g. a select may be on a wide operator