Move Julia exceptions to libjulia/Exceptions.h

This commit is contained in:
Alex Beregszaszi
2018-05-09 12:04:44 +02:00
parent 87826a7d87
commit 7bbfd77e8e
2 changed files with 35 additions and 5 deletions
-5
View File
@@ -22,16 +22,11 @@
#include <libjulia/ASTDataForward.h>
#include <libdevcore/Exceptions.h>
namespace dev
{
namespace julia
{
struct IuliaException: virtual Exception {};
struct OptimizerException: virtual IuliaException {};
/// Removes statements that are just empty blocks (non-recursive).
void removeEmptyBlocks(Block& _block);