From cce377833ae46f10e49cdf01f5685a6b2f7b0a57 Mon Sep 17 00:00:00 2001 From: Leonardo Alt Date: Mon, 17 Dec 2018 18:26:10 +0100 Subject: [PATCH] Sort includes in libsolidity/formal --- libsolidity/formal/CVC4Interface.cpp | 1 - libsolidity/formal/CVC4Interface.h | 1 - libsolidity/formal/SMTChecker.cpp | 2 -- libsolidity/formal/SMTChecker.h | 4 +--- libsolidity/formal/SMTLib2Interface.cpp | 8 +++----- libsolidity/formal/SMTLib2Interface.h | 11 ++++------- libsolidity/formal/SMTPortfolio.h | 3 --- libsolidity/formal/SolverInterface.h | 6 ++---- libsolidity/formal/SymbolicTypes.cpp | 1 - libsolidity/formal/SymbolicTypes.h | 1 - libsolidity/formal/SymbolicVariables.cpp | 1 - libsolidity/formal/SymbolicVariables.h | 5 +---- libsolidity/formal/Z3Interface.cpp | 1 - libsolidity/formal/Z3Interface.h | 2 -- 14 files changed, 11 insertions(+), 36 deletions(-) diff --git a/libsolidity/formal/CVC4Interface.cpp b/libsolidity/formal/CVC4Interface.cpp index de5e4430c..e7c8f0159 100644 --- a/libsolidity/formal/CVC4Interface.cpp +++ b/libsolidity/formal/CVC4Interface.cpp @@ -18,7 +18,6 @@ #include #include - #include using namespace std; diff --git a/libsolidity/formal/CVC4Interface.h b/libsolidity/formal/CVC4Interface.h index bbe238557..897923647 100644 --- a/libsolidity/formal/CVC4Interface.h +++ b/libsolidity/formal/CVC4Interface.h @@ -18,7 +18,6 @@ #pragma once #include - #include #if defined(__GLIBC__) diff --git a/libsolidity/formal/SMTChecker.cpp b/libsolidity/formal/SMTChecker.cpp index bfbd6cafb..35c1e2f10 100644 --- a/libsolidity/formal/SMTChecker.cpp +++ b/libsolidity/formal/SMTChecker.cpp @@ -18,12 +18,10 @@ #include #include - #include #include #include - #include #include diff --git a/libsolidity/formal/SMTChecker.h b/libsolidity/formal/SMTChecker.h index c749cbc38..f14d2ac08 100644 --- a/libsolidity/formal/SMTChecker.h +++ b/libsolidity/formal/SMTChecker.h @@ -22,13 +22,11 @@ #include #include - #include - #include -#include #include +#include #include namespace langutil diff --git a/libsolidity/formal/SMTLib2Interface.cpp b/libsolidity/formal/SMTLib2Interface.cpp index 3cfa01b19..a23dbe559 100644 --- a/libsolidity/formal/SMTLib2Interface.cpp +++ b/libsolidity/formal/SMTLib2Interface.cpp @@ -17,22 +17,20 @@ #include -#include #include - +#include #include -#include #include +#include #include -#include +#include #include #include #include #include #include -#include using namespace std; using namespace dev; diff --git a/libsolidity/formal/SMTLib2Interface.h b/libsolidity/formal/SMTLib2Interface.h index 55fc4096d..d0bf4702d 100644 --- a/libsolidity/formal/SMTLib2Interface.h +++ b/libsolidity/formal/SMTLib2Interface.h @@ -19,20 +19,17 @@ #include -#include #include - +#include +#include #include -#include - #include - +#include #include +#include #include #include -#include -#include namespace dev { diff --git a/libsolidity/formal/SMTPortfolio.h b/libsolidity/formal/SMTPortfolio.h index 7f5ba37ee..8c38bd2e3 100644 --- a/libsolidity/formal/SMTPortfolio.h +++ b/libsolidity/formal/SMTPortfolio.h @@ -19,13 +19,10 @@ #include - #include - #include #include - #include #include diff --git a/libsolidity/formal/SolverInterface.h b/libsolidity/formal/SolverInterface.h index 03920dd6a..6e0b17aca 100644 --- a/libsolidity/formal/SolverInterface.h +++ b/libsolidity/formal/SolverInterface.h @@ -17,18 +17,16 @@ #pragma once -#include #include - +#include #include #include #include - +#include #include #include #include -#include namespace dev { diff --git a/libsolidity/formal/SymbolicTypes.cpp b/libsolidity/formal/SymbolicTypes.cpp index 583f7b097..269bff738 100644 --- a/libsolidity/formal/SymbolicTypes.cpp +++ b/libsolidity/formal/SymbolicTypes.cpp @@ -18,7 +18,6 @@ #include #include - #include using namespace std; diff --git a/libsolidity/formal/SymbolicTypes.h b/libsolidity/formal/SymbolicTypes.h index 66552b277..35c7bb8df 100644 --- a/libsolidity/formal/SymbolicTypes.h +++ b/libsolidity/formal/SymbolicTypes.h @@ -19,7 +19,6 @@ #include #include - #include #include diff --git a/libsolidity/formal/SymbolicVariables.cpp b/libsolidity/formal/SymbolicVariables.cpp index f7eeb3bd1..c4fc81da8 100644 --- a/libsolidity/formal/SymbolicVariables.cpp +++ b/libsolidity/formal/SymbolicVariables.cpp @@ -18,7 +18,6 @@ #include #include - #include using namespace std; diff --git a/libsolidity/formal/SymbolicVariables.h b/libsolidity/formal/SymbolicVariables.h index f7a65a4eb..86abf4f19 100644 --- a/libsolidity/formal/SymbolicVariables.h +++ b/libsolidity/formal/SymbolicVariables.h @@ -17,12 +17,9 @@ #pragma once -#include - #include - +#include #include - #include namespace dev diff --git a/libsolidity/formal/Z3Interface.cpp b/libsolidity/formal/Z3Interface.cpp index cb01dc618..4cbc32719 100644 --- a/libsolidity/formal/Z3Interface.cpp +++ b/libsolidity/formal/Z3Interface.cpp @@ -18,7 +18,6 @@ #include #include - #include using namespace std; diff --git a/libsolidity/formal/Z3Interface.h b/libsolidity/formal/Z3Interface.h index 86e1badd1..ee4d1551d 100644 --- a/libsolidity/formal/Z3Interface.h +++ b/libsolidity/formal/Z3Interface.h @@ -18,9 +18,7 @@ #pragma once #include - #include - #include namespace dev