mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Library libdevcore renamed to libsolutil.
This commit is contained in:
parent
8ac6258d31
commit
345f9928ab
@ -52,7 +52,7 @@ configure_file("${CMAKE_SOURCE_DIR}/cmake/templates/license.h.in" include/licens
|
||||
include(EthOptions)
|
||||
configure_project(TESTS)
|
||||
|
||||
add_subdirectory(libdevcore)
|
||||
add_subdirectory(libsolutil)
|
||||
add_subdirectory(liblangutil)
|
||||
add_subdirectory(libevmasm)
|
||||
add_subdirectory(libyul)
|
||||
|
@ -211,7 +211,7 @@ for (map<ComplexTypeOne, ComplexTypeTwo>::iterator i = l.begin(); i != l.end();
|
||||
|
||||
## 12. Include Headers
|
||||
|
||||
1. Includes should go in increasing order of generality (`libsolidity` -> `libevmasm` -> `libdevcore` -> `boost` -> `STL`).
|
||||
1. Includes should go in increasing order of generality (`libsolidity` -> `libevmasm` -> `libsolutil` -> `boost` -> `STL`).
|
||||
2. The corresponding `.h` file should be the first include in the respective `.cpp` file.
|
||||
3. Insert empty lines between blocks of include files.
|
||||
|
||||
@ -226,8 +226,8 @@ Example:
|
||||
|
||||
#include <libevmasm/GasMeter.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/SHA3.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/SHA3.h>
|
||||
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
|
@ -900,7 +900,7 @@ Features:
|
||||
* ABI JSON: Include new field ``stateMutability`` with values ``pure``, ``view``,
|
||||
``nonpayable`` and ``payable``.
|
||||
* Analyzer: Experimental partial support for Z3 SMT checker ("SMTChecker").
|
||||
* Build System: Shared libraries (``libdevcore``, ``libevmasm``, ``libsolidity``
|
||||
* Build System: Shared libraries (``libsolutil``, ``libevmasm``, ``libsolidity``
|
||||
and ``liblll``) are no longer produced during the build process.
|
||||
* Code generator: Experimental new implementation of ABI encoder that can
|
||||
encode arbitrarily nested arrays ("ABIEncoderV2")
|
||||
|
@ -25,9 +25,9 @@
|
||||
|
||||
#include <liblangutil/EVMVersion.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
#include <libevmasm/AssemblyItem.h>
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libevmasm/Exceptions.h>
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <vector>
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <functional>
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
#include <libevmasm/CommonSubexpressionEliminator.h>
|
||||
#include <libevmasm/AssemblyItem.h>
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
#include <set>
|
||||
#include <tuple>
|
||||
#include <ostream>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
#include <libevmasm/ExpressionClasses.h>
|
||||
#include <libevmasm/SemanticInformation.h>
|
||||
#include <libevmasm/KnownState.h>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <libevmasm/ConstantOptimiser.h>
|
||||
#include <libevmasm/Assembly.h>
|
||||
#include <libevmasm/GasMeter.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -25,9 +25,9 @@
|
||||
|
||||
#include <liblangutil/EVMVersion.h>
|
||||
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libevmasm/ExpressionClasses.h>
|
||||
|
||||
namespace solidity::evmasm
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
|
||||
namespace solidity::evmasm
|
||||
{
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libevmasm/AssemblyItem.h>
|
||||
|
||||
#include <vector>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <libevmasm/KnownState.h>
|
||||
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include <libevmasm/Instruction.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
|
@ -22,8 +22,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <libevmasm/Exceptions.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <functional>
|
||||
|
||||
namespace solidity::evmasm
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <libevmasm/KnownState.h>
|
||||
#include <libevmasm/AssemblyItem.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
@ -41,8 +41,8 @@
|
||||
#pragma clang diagnostic pop
|
||||
#endif // defined(__clang__)
|
||||
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
#include <libevmasm/ExpressionClasses.h>
|
||||
#include <libevmasm/SemanticInformation.h>
|
||||
|
||||
|
@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
#include <libevmasm/LinkerObject.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
namespace solidity::evmasm
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libevmasm/SimplificationRule.h>
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
#include <boost/multiprecision/detail/min_max.hpp>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <functional>
|
||||
|
||||
namespace solidity::evmasm
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <libevmasm/Assembly.h>
|
||||
#include <libevmasm/CommonSubexpressionEliminator.h>
|
||||
#include <libevmasm/RuleList.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <libevmasm/ExpressionClasses.h>
|
||||
#include <libevmasm/SimplificationRule.h>
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
||||
|
@ -22,11 +22,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <boost/range/adaptor/filtered.hpp>
|
||||
|
||||
|
@ -26,9 +26,9 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
|
||||
namespace solidity::langutil
|
||||
|
@ -55,8 +55,8 @@
|
||||
#include <liblangutil/Token.h>
|
||||
#include <liblangutil/CharStream.h>
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
#include <optional>
|
||||
#include <iosfwd>
|
||||
|
@ -22,9 +22,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libdevcore/Common.h> // defines noexcept macro for MSVC
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libsolutil/Common.h> // defines noexcept macro for MSVC
|
||||
#include <libsolutil/Exceptions.h>
|
||||
#include <liblangutil/CharStream.h>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <liblangutil/SourceReferenceExtractor.h>
|
||||
#include <liblangutil/SourceReferenceFormatter.h> // SourceReferenceFormatterBase
|
||||
|
||||
#include <libdevcore/AnsiColorized.h>
|
||||
#include <libsolutil/AnsiColorized.h>
|
||||
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <liblangutil/UndefMacros.h>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <liblll/CompilerState.h>
|
||||
#include <liblll/Parser.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <liblll/Exceptions.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libevmasm/Assembly.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
namespace boost { namespace spirit { class utree; } }
|
||||
namespace sp = boost::spirit;
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <liblangutil/EVMVersion.h>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
|
||||
namespace solidity::lll
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <liblll/Exceptions.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
#include <libsolidity/interface/StandardCompiler.h>
|
||||
#include <libsolidity/interface/Version.h>
|
||||
#include <libyul/YulString.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/JSON.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/JSON.h>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <list>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <libsolidity/analysis/ControlFlowAnalyzer.h>
|
||||
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
#include <libdevcore/Algorithms.h>
|
||||
#include <libsolutil/Algorithms.h>
|
||||
#include <boost/range/algorithm/sort.hpp>
|
||||
|
||||
using namespace std;
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <libsolidity/ast/AST.h>
|
||||
#include <libsolidity/ast/Types.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <libsolidity/analysis/TypeChecker.h>
|
||||
#include <libsolidity/ast/AST.h>
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
using namespace std;
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <libsolidity/ast/TypeProvider.h>
|
||||
#include <libsolidity/analysis/TypeChecker.h>
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
#include <libdevcore/Visitor.h>
|
||||
#include <libsolutil/Visitor.h>
|
||||
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <libsolidity/interface/Version.h>
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
#include <liblangutil/SemVerHandler.h>
|
||||
#include <libdevcore/Algorithms.h>
|
||||
#include <libsolutil/Algorithms.h>
|
||||
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
#include <memory>
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
#include <liblangutil/Exceptions.h>
|
||||
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
|
@ -31,8 +31,8 @@
|
||||
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
|
||||
#include <libdevcore/Algorithms.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/Algorithms.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <boost/algorithm/cxx11/all_of.hpp>
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <libsolidity/ast/ASTVisitor.h>
|
||||
#include <libsolidity/ast/AST_accept.h>
|
||||
#include <libsolidity/ast/TypeProvider.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <algorithm>
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <json/json.h>
|
||||
|
@ -26,8 +26,8 @@
|
||||
#include <libyul/AsmJsonConverter.h>
|
||||
#include <libyul/AsmData.h>
|
||||
#include <libyul/AsmPrinter.h>
|
||||
#include <libdevcore/JSON.h>
|
||||
#include <libdevcore/UTF8.h>
|
||||
#include <libsolutil/JSON.h>
|
||||
#include <libsolutil/UTF8.h>
|
||||
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/range/algorithm/sort.hpp>
|
||||
|
@ -25,11 +25,11 @@
|
||||
#include <libsolidity/ast/AST.h>
|
||||
#include <libsolidity/ast/TypeProvider.h>
|
||||
|
||||
#include <libdevcore/Algorithms.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libdevcore/UTF8.h>
|
||||
#include <libsolutil/Algorithms.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
#include <libsolutil/UTF8.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
|
@ -27,9 +27,9 @@
|
||||
#include <libsolidity/parsing/Token.h>
|
||||
#include <liblangutil/Exceptions.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libdevcore/Result.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
#include <libsolutil/Result.h>
|
||||
|
||||
#include <boost/rational.hpp>
|
||||
|
||||
|
@ -23,9 +23,9 @@
|
||||
#include <libsolidity/codegen/ABIFunctions.h>
|
||||
|
||||
#include <libsolidity/codegen/CompilerUtils.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <libevmasm/Assembly.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <liblangutil/EVMVersion.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <functional>
|
||||
#include <ostream>
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <libsolidity/codegen/ArrayUtils.h>
|
||||
#include <libsolidity/codegen/LValue.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include <liblangutil/ErrorReporter.h>
|
||||
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
#include <algorithm>
|
||||
|
@ -29,9 +29,9 @@
|
||||
#include <libsolidity/codegen/LValue.h>
|
||||
|
||||
#include <libevmasm/GasMeter.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <libsolidity/interface/DebugSettings.h>
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <liblangutil/SourceLocation.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <functional>
|
||||
|
@ -24,9 +24,9 @@
|
||||
#include <libsolidity/ast/AST.h>
|
||||
#include <libsolidity/codegen/CompilerUtils.h>
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/range/adaptor/reversed.hpp>
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include <libsolidity/codegen/YulUtilFunctions.h>
|
||||
#include <libsolidity/ast/AST.h>
|
||||
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include <liblangutil/EVMVersion.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
@ -32,9 +32,9 @@
|
||||
#include <libyul/AssemblyStack.h>
|
||||
#include <libyul/Utilities.h>
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <liblangutil/SourceReferenceFormatter.h>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <libsolidity/codegen/CompilerUtils.h>
|
||||
#include <libsolidity/ast/AST.h>
|
||||
|
||||
#include <libdevcore/Whiskers.h>
|
||||
#include <libsolutil/Whiskers.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <libsolidity/codegen/YulUtilFunctions.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <string>
|
||||
#include <ostream>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include <libsolidity/formal/CHCSmtLib2Interface.h>
|
||||
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <libsolidity/formal/CVC4Interface.h>
|
||||
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include <libsolidity/formal/SMTLib2Interface.h>
|
||||
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include <libsolidity/interface/ReadFile.h>
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <cstdio>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <libsolidity/formal/SolverInterface.h>
|
||||
#include <libsolidity/interface/ReadFile.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <map>
|
||||
|
@ -20,8 +20,8 @@
|
||||
#include <libsolidity/ast/Types.h>
|
||||
#include <libsolidity/interface/ReadFile.h>
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <cstdio>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <libsolidity/ast/TypeProvider.h>
|
||||
#include <libsolidity/ast/Types.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <memory>
|
||||
|
||||
using namespace std;
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <libsolidity/formal/Z3CHCInterface.h>
|
||||
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <libsolidity/formal/Z3Interface.h>
|
||||
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity::frontend::smt;
|
||||
|
@ -58,9 +58,9 @@
|
||||
|
||||
#include <libevmasm/Exceptions.h>
|
||||
|
||||
#include <libdevcore/SwarmHash.h>
|
||||
#include <libdevcore/IpfsHash.h>
|
||||
#include <libdevcore/JSON.h>
|
||||
#include <libsolutil/SwarmHash.h>
|
||||
#include <libsolutil/IpfsHash.h>
|
||||
#include <libsolutil/JSON.h>
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
|
@ -35,8 +35,8 @@
|
||||
|
||||
#include <libevmasm/LinkerObject.h>
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <json/json.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <libevmasm/ControlFlowGraph.h>
|
||||
#include <libevmasm/KnownState.h>
|
||||
#include <libevmasm/PathGasMeter.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
@ -27,8 +27,8 @@
|
||||
#include <libyul/Exceptions.h>
|
||||
#include <liblangutil/SourceReferenceFormatter.h>
|
||||
#include <libevmasm/Instruction.h>
|
||||
#include <libdevcore/JSON.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/JSON.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <boost/algorithm/cxx11/any_of.hpp>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include <libsolidity/interface/Version.h>
|
||||
|
||||
#include <liblangutil/Exceptions.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <solidity/BuildInfo.h>
|
||||
#include <string>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <string>
|
||||
|
||||
namespace solidity::frontend
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
|
||||
namespace solidity::util
|
||||
{
|
@ -37,7 +37,7 @@
|
||||
#pragma warning(disable:3682) //call through incomplete class
|
||||
#endif
|
||||
|
||||
#include <libdevcore/vector_ref.h>
|
||||
#include <libsolutil/vector_ref.h>
|
||||
|
||||
#include <boost/version.hpp>
|
||||
#if (BOOST_VERSION < 106500)
|
@ -19,11 +19,11 @@
|
||||
* @date 2014
|
||||
*/
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
@ -24,7 +24,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <iterator>
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <vector>
|
||||
#include <type_traits>
|
@ -19,8 +19,8 @@
|
||||
* @date 2014
|
||||
*/
|
||||
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <sstream>
|
||||
#include <string>
|
@ -15,7 +15,7 @@
|
||||
along with solidity. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity::util;
|
@ -23,7 +23,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/io/ios_state.hpp>
|
@ -19,8 +19,8 @@
|
||||
* Indented text writer.
|
||||
*/
|
||||
|
||||
#include <libdevcore/IndentedWriter.h>
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libsolutil/IndentedWriter.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity::util;
|
@ -24,7 +24,7 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
|
||||
namespace solidity::util
|
||||
{
|
@ -15,12 +15,12 @@
|
||||
along with solidity. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <libdevcore/IpfsHash.h>
|
||||
#include <libsolutil/IpfsHash.h>
|
||||
|
||||
#include <libdevcore/Assertions.h>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libdevcore/picosha2.h>
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/Assertions.h>
|
||||
#include <libsolutil/Exceptions.h>
|
||||
#include <libsolutil/picosha2.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace solidity;
|
@ -17,7 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/Common.h>
|
||||
#include <libsolutil/Common.h>
|
||||
|
||||
#include <string>
|
||||
|
@ -19,9 +19,9 @@
|
||||
* @date 2018
|
||||
*/
|
||||
|
||||
#include <libdevcore/JSON.h>
|
||||
#include <libsolutil/JSON.h>
|
||||
|
||||
#include <libdevcore/CommonIO.h>
|
||||
#include <libsolutil/CommonIO.h>
|
||||
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
|
@ -19,7 +19,7 @@
|
||||
* @date 2014
|
||||
*/
|
||||
|
||||
#include <libdevcore/Keccak256.h>
|
||||
#include <libsolutil/Keccak256.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
@ -23,7 +23,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <libdevcore/FixedHash.h>
|
||||
#include <libsolutil/FixedHash.h>
|
||||
|
||||
#include <string>
|
||||
|
@ -21,7 +21,7 @@
|
||||
* String routines
|
||||
*/
|
||||
|
||||
#include <libdevcore/StringUtils.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <vector>
|
@ -26,7 +26,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <libdevcore/CommonData.h>
|
||||
#include <libsolutil/CommonData.h>
|
||||
|
||||
namespace solidity::util
|
||||
{
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user