Isolating libyul library API into its own namespace yul.

This commit is contained in:
Christian Parpart
2018-11-23 14:29:00 +01:00
parent 3734f40d31
commit ec47c8946b
105 changed files with 366 additions and 582 deletions
+2 -2
View File
@@ -28,9 +28,9 @@
using namespace std;
using namespace dev;
using namespace dev::yul;
using namespace yul;
void dev::yul::removeEmptyBlocks(Block& _block)
void yul::removeEmptyBlocks(Block& _block)
{
auto isEmptyBlock = [](Statement const& _st) -> bool {
return _st.type() == typeid(Block) && boost::get<Block>(_st).statements.empty();