Merge pull request #5671 from ethereum/sort_includes_interface

Sort includes in libsolidity/interface
This commit is contained in:
chriseth 2018-12-18 11:35:56 +01:00 committed by GitHub
commit 4b43aecaeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 49 additions and 45 deletions

View File

@ -19,6 +19,7 @@
*/
#include <libsolidity/interface/ABI.h>
#include <libsolidity/ast/AST.h>
using namespace std;

View File

@ -20,9 +20,9 @@
#pragma once
#include <string>
#include <memory>
#include <json/json.h>
#include <memory>
#include <string>
namespace dev
{

View File

@ -23,20 +23,18 @@
#include <libsolidity/interface/AssemblyStack.h>
#include <libsolidity/codegen/AsmCodeGen.h>
#include <libevmasm/Assembly.h>
#include <liblangutil/Scanner.h>
#include <libyul/AsmPrinter.h>
#include <libyul/AsmParser.h>
#include <libyul/AsmAnalysis.h>
#include <libyul/AsmAnalysisInfo.h>
#include <libyul/backends/evm/EVMObjectCompiler.h>
#include <libyul/backends/evm/EVMCodeTransform.h>
#include <libyul/AsmParser.h>
#include <libyul/AsmPrinter.h>
#include <libyul/backends/evm/EVMAssembly.h>
#include <libyul/backends/evm/EVMCodeTransform.h>
#include <libyul/backends/evm/EVMDialect.h>
#include <libyul/backends/evm/EVMObjectCompiler.h>
#include <libyul/ObjectParser.h>
#include <libevmasm/Assembly.h>
#include <libyul/optimiser/Suite.h>
using namespace std;

View File

@ -29,8 +29,8 @@
#include <libevmasm/LinkerObject.h>
#include <string>
#include <memory>
#include <string>
namespace langutil
{

View File

@ -24,26 +24,27 @@
#include <libsolidity/interface/CompilerStack.h>
#include <libsolidity/interface/Version.h>
#include <libsolidity/analysis/SemVerHandler.h>
#include <libsolidity/ast/AST.h>
#include <libsolidity/parsing/Parser.h>
#include <libsolidity/analysis/ContractLevelChecker.h>
#include <libsolidity/analysis/ControlFlowAnalyzer.h>
#include <libsolidity/analysis/ControlFlowGraph.h>
#include <libsolidity/analysis/ContractLevelChecker.h>
#include <libsolidity/analysis/DocStringAnalyser.h>
#include <libsolidity/analysis/GlobalContext.h>
#include <libsolidity/analysis/NameAndTypeResolver.h>
#include <libsolidity/analysis/TypeChecker.h>
#include <libsolidity/analysis/DocStringAnalyser.h>
#include <libsolidity/analysis/StaticAnalyzer.h>
#include <libsolidity/analysis/PostTypeChecker.h>
#include <libsolidity/analysis/SemVerHandler.h>
#include <libsolidity/analysis/StaticAnalyzer.h>
#include <libsolidity/analysis/SyntaxChecker.h>
#include <libsolidity/analysis/TypeChecker.h>
#include <libsolidity/analysis/ViewPureChecker.h>
#include <libsolidity/ast/AST.h>
#include <libsolidity/codegen/Compiler.h>
#include <libsolidity/formal/SMTChecker.h>
#include <libsolidity/interface/ABI.h>
#include <libsolidity/interface/Natspec.h>
#include <libsolidity/interface/GasEstimator.h>
#include <libsolidity/interface/Version.h>
#include <libsolidity/parsing/Parser.h>
#include <libyul/YulString.h>

View File

@ -34,15 +34,14 @@
#include <libdevcore/Common.h>
#include <libdevcore/FixedHash.h>
#include <boost/noncopyable.hpp>
#include <json/json.h>
#include <boost/noncopyable.hpp>
#include <functional>
#include <memory>
#include <ostream>
#include <string>
#include <memory>
#include <vector>
#include <functional>
namespace langutil
{

View File

@ -20,18 +20,21 @@
* Gas consumption estimator working alongside the AST.
*/
#include "GasEstimator.h"
#include <map>
#include <functional>
#include <memory>
#include <libdevcore/Keccak256.h>
#include <libevmasm/ControlFlowGraph.h>
#include <libevmasm/KnownState.h>
#include <libevmasm/PathGasMeter.h>
#include <libsolidity/interface/GasEstimator.h>
#include <libsolidity/ast/AST.h>
#include <libsolidity/ast/ASTVisitor.h>
#include <libsolidity/codegen/CompilerUtils.h>
#include <libevmasm/ControlFlowGraph.h>
#include <libevmasm/KnownState.h>
#include <libevmasm/PathGasMeter.h>
#include <libdevcore/Keccak256.h>
#include <functional>
#include <map>
#include <memory>
using namespace std;
using namespace dev;
using namespace dev::eth;

View File

@ -24,12 +24,12 @@
#include <liblangutil/EVMVersion.h>
#include <libevmasm/GasMeter.h>
#include <libevmasm/Assembly.h>
#include <libevmasm/GasMeter.h>
#include <vector>
#include <map>
#include <array>
#include <map>
#include <vector>
namespace dev
{

View File

@ -24,8 +24,9 @@
*/
#include <libsolidity/interface/Natspec.h>
#include <boost/range/irange.hpp>
#include <libsolidity/ast/AST.h>
#include <boost/range/irange.hpp>
using namespace std;
using namespace dev;

View File

@ -25,9 +25,9 @@
#pragma once
#include <string>
#include <memory>
#include <json/json.h>
#include <memory>
#include <string>
namespace dev
{

View File

@ -17,9 +17,9 @@
#pragma once
#include <string>
#include <functional>
#include <boost/noncopyable.hpp>
#include <functional>
#include <string>
namespace dev
{

View File

@ -21,16 +21,16 @@
*/
#include <libsolidity/interface/StandardCompiler.h>
#include <liblangutil/SourceReferenceFormatter.h>
#include <libsolidity/ast/ASTJsonConverter.h>
#include <liblangutil/SourceReferenceFormatter.h>
#include <libevmasm/Instruction.h>
#include <libdevcore/JSON.h>
#include <libdevcore/Keccak256.h>
#include <algorithm>
#include <boost/algorithm/string.hpp>
#include <boost/optional.hpp>
#include <algorithm>
using namespace std;
using namespace dev;

View File

@ -21,11 +21,12 @@
*/
#include <libsolidity/interface/Version.h>
#include <string>
#include <liblangutil/Exceptions.h>
#include <libdevcore/CommonData.h>
#include <libdevcore/Common.h>
#include <liblangutil/Exceptions.h>
#include <solidity/BuildInfo.h>
#include <string>
using namespace dev;
using namespace dev::solidity;

View File

@ -22,8 +22,8 @@
#pragma once
#include <string>
#include <libdevcore/Common.h>
#include <string>
namespace dev
{