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
+3 -7
View File
@@ -23,13 +23,9 @@
#include <string>
#include <vector>
#include <tuple>
#include <libdevcore/Common.h> // solidity::bytes
namespace dev
{
using bytes = std::vector<uint8_t>;
}
namespace yul
namespace solidity::yul
{
struct Object;
struct Dialect;
@@ -42,7 +38,7 @@ class WasmObjectCompiler
{
public:
/// Compiles the given object and returns the Wasm text and binary representation.
static std::pair<std::string, dev::bytes> compile(Object& _object, Dialect const& _dialect);
static std::pair<std::string, bytes> compile(Object& _object, Dialect const& _dialect);
private:
WasmObjectCompiler(Dialect const& _dialect):
m_dialect(_dialect)