Some style review suggestions.

This commit is contained in:
Daniel Kirchner
2021-01-13 12:43:38 +01:00
parent 4505889481
commit 91cdb606a5
2 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -325,9 +325,9 @@ void DataFlowAnalyzer::clearValues(set<YulString> _variables)
cxx20::erase_if(m_memory, eraseCondition);
// Also clear variables that reference variables to be cleared.
for (auto const& name: _variables)
for (auto const& variableToClear: _variables)
for (auto const& [ref, names]: m_references)
if (names.count(name))
if (names.count(variableToClear))
_variables.emplace(ref);
// Clear the value and update the reference relation.