C++ namespace cleanup (except tests).

This commit is contained in:
Christian Parpart
2020-01-07 15:51:50 +01:00
committed by Daniel Kirchner
parent 8385256bdc
commit 6b23412fae
403 changed files with 1656 additions and 1926 deletions
+4 -4
View File
@@ -27,8 +27,8 @@
#include <utility>
using namespace std;
using namespace dev;
using namespace yul;
using namespace solidity;
using namespace solidity::yul;
void LoopInvariantCodeMotion::run(OptimiserStepContext& _context, Block& _ast)
{
@@ -41,7 +41,7 @@ void LoopInvariantCodeMotion::run(OptimiserStepContext& _context, Block& _ast)
void LoopInvariantCodeMotion::operator()(Block& _block)
{
iterateReplacing(
util::iterateReplacing(
_block.statements,
[&](Statement& _s) -> optional<vector<Statement>>
{
@@ -85,7 +85,7 @@ optional<vector<Statement>> LoopInvariantCodeMotion::rewriteLoop(ForLoop& _for)
for (Block* block: {&_for.post, &_for.body})
{
set<YulString> varsDefinedInScope;
iterateReplacing(
util::iterateReplacing(
block->statements,
[&](Statement& _s) -> optional<vector<Statement>>
{