Merge pull request #5666 from ethereum/sort_includes_ast

Sort includes in libsolidity/ast
This commit is contained in:
chriseth 2018-12-17 17:46:03 +01:00 committed by GitHub
commit 75ca6d11f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 31 additions and 33 deletions

View File

@ -21,13 +21,12 @@
*/
#include <libsolidity/ast/AST.h>
#include <libsolidity/ast/ASTVisitor.h>
#include <libsolidity/ast/AST_accept.h>
#include <libdevcore/Keccak256.h>
#include <boost/algorithm/string.hpp>
#include <algorithm>
#include <functional>

View File

@ -22,24 +22,22 @@
#pragma once
#include <libsolidity/parsing/Token.h>
#include <libsolidity/ast/ASTForward.h>
#include <libsolidity/ast/Types.h>
#include <libsolidity/ast/ASTAnnotations.h>
#include <libsolidity/ast/ASTEnums.h>
#include <libsolidity/parsing/Token.h>
#include <liblangutil/SourceLocation.h>
#include <libevmasm/Instruction.h>
#include <libdevcore/FixedHash.h>
#include <json/json.h>
#include <boost/noncopyable.hpp>
#include <json/json.h>
#include <memory>
#include <string>
#include <vector>
#include <memory>
namespace yul
{

View File

@ -27,8 +27,8 @@
#include <map>
#include <memory>
#include <vector>
#include <set>
#include <vector>
namespace yul
{

View File

@ -22,8 +22,8 @@
#pragma once
#include <string>
#include <memory>
#include <string>
#include <vector>
// Forward-declare all AST node types

View File

@ -20,11 +20,12 @@
*/
#include <libsolidity/ast/ASTJsonConverter.h>
#include <boost/algorithm/string/join.hpp>
#include <libdevcore/UTF8.h>
#include <libsolidity/ast/AST.h>
#include <libyul/AsmData.h>
#include <libyul/AsmPrinter.h>
#include <libdevcore/UTF8.h>
#include <boost/algorithm/string/join.hpp>
using namespace std;
using namespace langutil;

View File

@ -22,12 +22,13 @@
#pragma once
#include <ostream>
#include <stack>
#include <libsolidity/ast/ASTAnnotations.h>
#include <libsolidity/ast/ASTVisitor.h>
#include <liblangutil/Exceptions.h>
#include <libsolidity/ast/ASTAnnotations.h>
#include <json/json.h>
#include <ostream>
#include <stack>
namespace langutil
{

View File

@ -21,11 +21,10 @@
*/
#include <libsolidity/ast/ASTPrinter.h>
#include <libsolidity/ast/AST.h>
#include <json/json.h>
#include <boost/algorithm/string/join.hpp>
#include <json/json.h>
using namespace std;
using namespace langutil;

View File

@ -22,9 +22,9 @@
#pragma once
#include <ostream>
#include <libsolidity/ast/ASTVisitor.h>
#include <libsolidity/interface/GasEstimator.h>
#include <ostream>
namespace dev
{

View File

@ -22,10 +22,10 @@
#pragma once
#include <string>
#include <functional>
#include <vector>
#include <libsolidity/ast/AST.h>
#include <functional>
#include <string>
#include <vector>
namespace dev
{

View File

@ -24,22 +24,22 @@
#include <libsolidity/ast/AST.h>
#include <libdevcore/CommonIO.h>
#include <libdevcore/Algorithms.h>
#include <libdevcore/CommonData.h>
#include <libdevcore/CommonIO.h>
#include <libdevcore/Keccak256.h>
#include <libdevcore/UTF8.h>
#include <libdevcore/Algorithms.h>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <boost/range/adaptor/sliced.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <limits>

View File

@ -22,23 +22,23 @@
#pragma once
#include <liblangutil/Exceptions.h>
#include <libsolidity/ast/ASTForward.h>
#include <libsolidity/ast/ASTEnums.h>
#include <libsolidity/ast/ASTForward.h>
#include <libsolidity/parsing/Token.h>
#include <liblangutil/Exceptions.h>
#include <libdevcore/Common.h>
#include <libdevcore/CommonIO.h>
#include <libdevcore/Result.h>
#include <boost/optional.hpp>
#include <boost/noncopyable.hpp>
#include <boost/rational.hpp>
#include <boost/optional.hpp>
#include <memory>
#include <string>
#include <map>
#include <memory>
#include <set>
#include <string>
namespace dev
{