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 -3
View File
@@ -23,16 +23,16 @@
#include <libdevcore/Exceptions.h>
#include <libdevcore/Assertions.h>
namespace yul
namespace solidity::yul
{
struct YulException: virtual dev::Exception {};
struct YulException: virtual util::Exception {};
struct OptimizerException: virtual YulException {};
struct CodegenException: virtual YulException {};
struct YulAssertion: virtual YulException {};
/// Assertion that throws an YulAssertion containing the given description if it is not met.
#define yulAssert(CONDITION, DESCRIPTION) \
assertThrow(CONDITION, ::yul::YulAssertion, DESCRIPTION)
assertThrow(CONDITION, ::solidity::yul::YulAssertion, DESCRIPTION)
}