diff options
author | Christian Parpart <christian@ethereum.org> | 2018-11-24 19:33:36 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-11-24 19:33:36 +0800 |
commit | aeb66905de3f65ca7a63addb6c9d05108986dbeb (patch) | |
tree | 75307c4f695d39ea3232c9b38eb910ed13277fdb /test/libsolidity | |
parent | 2e861bf1a0825d17386655cdaaa2c7371b6d2c5c (diff) | |
download | dexon-solidity-aeb66905de3f65ca7a63addb6c9d05108986dbeb.tar.gz dexon-solidity-aeb66905de3f65ca7a63addb6c9d05108986dbeb.tar.zst dexon-solidity-aeb66905de3f65ca7a63addb6c9d05108986dbeb.zip |
Moving SourceReferenceFormatter into langutil namespace.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/AnalysisFramework.cpp | 2 | ||||
-rw-r--r-- | test/libsolidity/GasMeter.cpp | 2 | ||||
-rw-r--r-- | test/libsolidity/SolidityExecutionFramework.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/libsolidity/AnalysisFramework.cpp b/test/libsolidity/AnalysisFramework.cpp index 12d63cb7..bd24115c 100644 --- a/test/libsolidity/AnalysisFramework.cpp +++ b/test/libsolidity/AnalysisFramework.cpp @@ -23,7 +23,7 @@ #include <test/Options.h> #include <libsolidity/interface/CompilerStack.h> -#include <libsolidity/interface/SourceReferenceFormatter.h> +#include <liblangutil/SourceReferenceFormatter.h> #include <libsolidity/ast/AST.h> diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp index 61f16c0f..601948bc 100644 --- a/test/libsolidity/GasMeter.cpp +++ b/test/libsolidity/GasMeter.cpp @@ -26,7 +26,7 @@ #include <libevmasm/PathGasMeter.h> #include <libsolidity/ast/AST.h> #include <libsolidity/interface/GasEstimator.h> -#include <libsolidity/interface/SourceReferenceFormatter.h> +#include <liblangutil/SourceReferenceFormatter.h> using namespace std; using namespace langutil; diff --git a/test/libsolidity/SolidityExecutionFramework.h b/test/libsolidity/SolidityExecutionFramework.h index d43e994d..cedbf51a 100644 --- a/test/libsolidity/SolidityExecutionFramework.h +++ b/test/libsolidity/SolidityExecutionFramework.h @@ -28,7 +28,7 @@ #include <libsolidity/interface/CompilerStack.h> #include <liblangutil/Exceptions.h> -#include <libsolidity/interface/SourceReferenceFormatter.h> +#include <liblangutil/SourceReferenceFormatter.h> namespace dev { @@ -73,7 +73,7 @@ public: if (!m_compiler.compile()) { auto scannerFromSourceName = [&](std::string const& _sourceName) -> langutil::Scanner const& { return m_compiler.scanner(_sourceName); }; - SourceReferenceFormatter formatter(std::cerr, scannerFromSourceName); + langutil::SourceReferenceFormatter formatter(std::cerr, scannerFromSourceName); for (auto const& error: m_compiler.errors()) formatter.printExceptionInformation( |