diff --git a/libevmasm/ExpressionClasses.cpp b/libevmasm/ExpressionClasses.cpp index e2b39a7be..8df523842 100644 --- a/libevmasm/ExpressionClasses.cpp +++ b/libevmasm/ExpressionClasses.cpp @@ -29,7 +29,6 @@ #include #include -#include using namespace std; using namespace solidity; diff --git a/libevmasm/Instruction.cpp b/libevmasm/Instruction.cpp index 5ccc4c542..e9f528d89 100644 --- a/libevmasm/Instruction.cpp +++ b/libevmasm/Instruction.cpp @@ -24,7 +24,6 @@ #include #include -#include #include using namespace std; diff --git a/libevmasm/SimplificationRules.cpp b/libevmasm/SimplificationRules.cpp index d2f30c22e..a21ed4195 100644 --- a/libevmasm/SimplificationRules.cpp +++ b/libevmasm/SimplificationRules.cpp @@ -26,7 +26,6 @@ #include #include -#include #include #include diff --git a/liblangutil/ErrorReporter.cpp b/liblangutil/ErrorReporter.cpp index 5703d33b8..728c9dad9 100644 --- a/liblangutil/ErrorReporter.cpp +++ b/liblangutil/ErrorReporter.cpp @@ -23,7 +23,6 @@ #include #include -#include #include using namespace std; diff --git a/liblangutil/SourceReferenceExtractor.cpp b/liblangutil/SourceReferenceExtractor.cpp index d362755ba..3eac873aa 100644 --- a/liblangutil/SourceReferenceExtractor.cpp +++ b/liblangutil/SourceReferenceExtractor.cpp @@ -21,7 +21,6 @@ #include #include -#include using namespace std; using namespace solidity; diff --git a/liblangutil/SourceReferenceFormatter.cpp b/liblangutil/SourceReferenceFormatter.cpp index 28b4e3416..cc2afc24b 100644 --- a/liblangutil/SourceReferenceFormatter.cpp +++ b/liblangutil/SourceReferenceFormatter.cpp @@ -20,7 +20,6 @@ */ #include -#include #include #include #include diff --git a/libsolc/libsolc.cpp b/libsolc/libsolc.cpp index f87f075d6..48cf7e0f8 100644 --- a/libsolc/libsolc.cpp +++ b/libsolc/libsolc.cpp @@ -25,8 +25,6 @@ #include #include #include -#include -#include #include #include diff --git a/libsolidity/analysis/ControlFlowGraph.cpp b/libsolidity/analysis/ControlFlowGraph.cpp index f7344e7fc..a55977ad2 100644 --- a/libsolidity/analysis/ControlFlowGraph.cpp +++ b/libsolidity/analysis/ControlFlowGraph.cpp @@ -19,7 +19,6 @@ #include #include -#include using namespace std; using namespace solidity::langutil; diff --git a/libsolidity/analysis/DeclarationContainer.cpp b/libsolidity/analysis/DeclarationContainer.cpp index 499c26ff1..e7b23f7dd 100644 --- a/libsolidity/analysis/DeclarationContainer.cpp +++ b/libsolidity/analysis/DeclarationContainer.cpp @@ -24,7 +24,6 @@ #include #include -#include #include using namespace std; diff --git a/libsolidity/analysis/SyntaxChecker.cpp b/libsolidity/analysis/SyntaxChecker.cpp index c85791449..04745344f 100644 --- a/libsolidity/analysis/SyntaxChecker.cpp +++ b/libsolidity/analysis/SyntaxChecker.cpp @@ -30,9 +30,6 @@ #include -#include - -#include #include using namespace std; diff --git a/libsolidity/ast/AST.cpp b/libsolidity/ast/AST.cpp index 537846007..6ff712859 100644 --- a/libsolidity/ast/AST.cpp +++ b/libsolidity/ast/AST.cpp @@ -31,7 +31,6 @@ #include -#include #include #include diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp index 398e362f5..763e1bc33 100644 --- a/libsolidity/codegen/CompilerContext.cpp +++ b/libsolidity/codegen/CompilerContext.cpp @@ -48,10 +48,7 @@ #include #include -#include - #include -#include // Change to "define" to output all intermediate code #undef SOL_OUTPUT_ASM diff --git a/libsolidity/formal/BMC.cpp b/libsolidity/formal/BMC.cpp index befefbb14..c7e25db29 100644 --- a/libsolidity/formal/BMC.cpp +++ b/libsolidity/formal/BMC.cpp @@ -18,7 +18,6 @@ #include -#include #include #include diff --git a/libsolidity/formal/SymbolicVariables.cpp b/libsolidity/formal/SymbolicVariables.cpp index 4c95e493a..f0fa7df86 100644 --- a/libsolidity/formal/SymbolicVariables.cpp +++ b/libsolidity/formal/SymbolicVariables.cpp @@ -20,7 +20,6 @@ #include #include -#include #include diff --git a/libsolidity/interface/FileReader.cpp b/libsolidity/interface/FileReader.cpp index 295d02da4..53a0b2cbd 100644 --- a/libsolidity/interface/FileReader.cpp +++ b/libsolidity/interface/FileReader.cpp @@ -19,7 +19,6 @@ #include -#include #include #include diff --git a/libsolutil/CommonIO.cpp b/libsolutil/CommonIO.cpp index c933c552e..d661681bc 100644 --- a/libsolutil/CommonIO.cpp +++ b/libsolutil/CommonIO.cpp @@ -26,7 +26,6 @@ #include #include -#include #include #if defined(_WIN32) #include diff --git a/libsolutil/IpfsHash.cpp b/libsolutil/IpfsHash.cpp index c034ce5ba..bf1527261 100644 --- a/libsolutil/IpfsHash.cpp +++ b/libsolutil/IpfsHash.cpp @@ -18,7 +18,6 @@ #include -#include #include #include #include diff --git a/libsolutil/Keccak256.cpp b/libsolutil/Keccak256.cpp index 50e849352..212804904 100644 --- a/libsolutil/Keccak256.cpp +++ b/libsolutil/Keccak256.cpp @@ -23,8 +23,6 @@ #include #include -#include -#include #include using namespace std; diff --git a/libsolutil/StringUtils.cpp b/libsolutil/StringUtils.cpp index 35804c60a..a994b07c8 100644 --- a/libsolutil/StringUtils.cpp +++ b/libsolutil/StringUtils.cpp @@ -23,7 +23,6 @@ */ #include -#include #include #include diff --git a/libyul/AsmAnalysis.cpp b/libyul/AsmAnalysis.cpp index a6b0e729c..95d2f41fa 100644 --- a/libyul/AsmAnalysis.cpp +++ b/libyul/AsmAnalysis.cpp @@ -35,12 +35,10 @@ #include #include -#include #include #include #include -#include using namespace std; using namespace solidity; diff --git a/libyul/AsmParser.cpp b/libyul/AsmParser.cpp index 20d39c4f6..27955fe3b 100644 --- a/libyul/AsmParser.cpp +++ b/libyul/AsmParser.cpp @@ -31,7 +31,6 @@ #include -#include #include using namespace std; diff --git a/libyul/AssemblyStack.cpp b/libyul/AssemblyStack.cpp index 4eb655fb6..9f401cdd4 100644 --- a/libyul/AssemblyStack.cpp +++ b/libyul/AssemblyStack.cpp @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -35,7 +34,6 @@ #include #include #include -#include #include #include diff --git a/libyul/CompilabilityChecker.cpp b/libyul/CompilabilityChecker.cpp index 4b1a99a74..270773cbc 100644 --- a/libyul/CompilabilityChecker.cpp +++ b/libyul/CompilabilityChecker.cpp @@ -26,8 +26,6 @@ #include #include -#include - using namespace std; using namespace solidity; using namespace solidity::yul; diff --git a/libyul/Scope.cpp b/libyul/Scope.cpp index affd1853c..3425e81ae 100644 --- a/libyul/Scope.cpp +++ b/libyul/Scope.cpp @@ -21,8 +21,6 @@ #include -#include - using namespace std; using namespace solidity; using namespace solidity::yul; diff --git a/libyul/Utilities.cpp b/libyul/Utilities.cpp index 9c16252ee..38fe379aa 100644 --- a/libyul/Utilities.cpp +++ b/libyul/Utilities.cpp @@ -30,7 +30,6 @@ #include #include -#include #include #include diff --git a/libyul/backends/evm/EVMMetrics.cpp b/libyul/backends/evm/EVMMetrics.cpp index dfb716c19..bd39f966f 100644 --- a/libyul/backends/evm/EVMMetrics.cpp +++ b/libyul/backends/evm/EVMMetrics.cpp @@ -29,7 +29,6 @@ #include #include -#include #include using namespace std; diff --git a/libyul/backends/evm/EVMObjectCompiler.cpp b/libyul/backends/evm/EVMObjectCompiler.cpp index e51bd2e11..2b9808387 100644 --- a/libyul/backends/evm/EVMObjectCompiler.cpp +++ b/libyul/backends/evm/EVMObjectCompiler.cpp @@ -26,7 +26,6 @@ #include #include -#include using namespace solidity::yul; using namespace std; diff --git a/libyul/backends/wasm/WasmCodeTransform.cpp b/libyul/backends/wasm/WasmCodeTransform.cpp index 2aaa0473a..f1254875a 100644 --- a/libyul/backends/wasm/WasmCodeTransform.cpp +++ b/libyul/backends/wasm/WasmCodeTransform.cpp @@ -23,8 +23,6 @@ #include -#include - #include #include #include diff --git a/libyul/optimiser/ASTCopier.cpp b/libyul/optimiser/ASTCopier.cpp index 6117e0bfa..79dc82efa 100644 --- a/libyul/optimiser/ASTCopier.cpp +++ b/libyul/optimiser/ASTCopier.cpp @@ -21,8 +21,6 @@ #include -#include - #include #include diff --git a/libyul/optimiser/BlockFlattener.cpp b/libyul/optimiser/BlockFlattener.cpp index e32972e66..bcbe19c18 100644 --- a/libyul/optimiser/BlockFlattener.cpp +++ b/libyul/optimiser/BlockFlattener.cpp @@ -19,7 +19,6 @@ #include #include -#include #include #include diff --git a/libyul/optimiser/BlockHasher.cpp b/libyul/optimiser/BlockHasher.cpp index 02db3bc43..182e11dda 100644 --- a/libyul/optimiser/BlockHasher.cpp +++ b/libyul/optimiser/BlockHasher.cpp @@ -24,8 +24,6 @@ #include #include -#include - using namespace std; using namespace solidity; using namespace solidity::yul; diff --git a/libyul/optimiser/CommonSubexpressionEliminator.cpp b/libyul/optimiser/CommonSubexpressionEliminator.cpp index 2725db395..16cdfd893 100644 --- a/libyul/optimiser/CommonSubexpressionEliminator.cpp +++ b/libyul/optimiser/CommonSubexpressionEliminator.cpp @@ -21,7 +21,6 @@ #include -#include #include #include #include diff --git a/libyul/optimiser/ConditionalSimplifier.cpp b/libyul/optimiser/ConditionalSimplifier.cpp index 78fcb174e..ea32949ed 100644 --- a/libyul/optimiser/ConditionalSimplifier.cpp +++ b/libyul/optimiser/ConditionalSimplifier.cpp @@ -18,10 +18,8 @@ #include #include #include -#include #include #include -#include using namespace std; using namespace solidity; diff --git a/libyul/optimiser/ConditionalUnsimplifier.cpp b/libyul/optimiser/ConditionalUnsimplifier.cpp index e51cbbf3c..f522654d4 100644 --- a/libyul/optimiser/ConditionalUnsimplifier.cpp +++ b/libyul/optimiser/ConditionalUnsimplifier.cpp @@ -21,7 +21,6 @@ #include #include #include -#include using namespace std; using namespace solidity; diff --git a/libyul/optimiser/DeadCodeEliminator.cpp b/libyul/optimiser/DeadCodeEliminator.cpp index 1c6818e9d..d8162397c 100644 --- a/libyul/optimiser/DeadCodeEliminator.cpp +++ b/libyul/optimiser/DeadCodeEliminator.cpp @@ -25,7 +25,6 @@ #include #include -#include #include diff --git a/libyul/optimiser/ExpressionSplitter.cpp b/libyul/optimiser/ExpressionSplitter.cpp index b93b55613..713e0e804 100644 --- a/libyul/optimiser/ExpressionSplitter.cpp +++ b/libyul/optimiser/ExpressionSplitter.cpp @@ -22,7 +22,6 @@ #include -#include #include #include @@ -30,7 +29,6 @@ #include #include -#include using namespace std; using namespace solidity; diff --git a/libyul/optimiser/FullInliner.cpp b/libyul/optimiser/FullInliner.cpp index 0a494a31f..61e2800b8 100644 --- a/libyul/optimiser/FullInliner.cpp +++ b/libyul/optimiser/FullInliner.cpp @@ -22,9 +22,7 @@ #include #include -#include #include -#include #include #include #include diff --git a/libyul/optimiser/KnowledgeBase.cpp b/libyul/optimiser/KnowledgeBase.cpp index 059c9d40c..09341b39e 100644 --- a/libyul/optimiser/KnowledgeBase.cpp +++ b/libyul/optimiser/KnowledgeBase.cpp @@ -25,7 +25,6 @@ #include #include #include -#include #include diff --git a/libyul/optimiser/LoadResolver.cpp b/libyul/optimiser/LoadResolver.cpp index 2716be3bd..b968e1bef 100644 --- a/libyul/optimiser/LoadResolver.cpp +++ b/libyul/optimiser/LoadResolver.cpp @@ -30,7 +30,6 @@ #include #include -#include #include #include diff --git a/libyul/optimiser/Metrics.cpp b/libyul/optimiser/Metrics.cpp index b9577f0fb..298dfe9c1 100644 --- a/libyul/optimiser/Metrics.cpp +++ b/libyul/optimiser/Metrics.cpp @@ -26,9 +26,7 @@ #include #include -#include -#include #include using namespace std; diff --git a/libyul/optimiser/ReasoningBasedSimplifier.cpp b/libyul/optimiser/ReasoningBasedSimplifier.cpp index 96924a06d..94c7102bd 100644 --- a/libyul/optimiser/ReasoningBasedSimplifier.cpp +++ b/libyul/optimiser/ReasoningBasedSimplifier.cpp @@ -21,13 +21,11 @@ #include #include #include -#include #include #include #include -#include #include #include diff --git a/libyul/optimiser/StackCompressor.cpp b/libyul/optimiser/StackCompressor.cpp index fcd838387..5e9202530 100644 --- a/libyul/optimiser/StackCompressor.cpp +++ b/libyul/optimiser/StackCompressor.cpp @@ -21,7 +21,6 @@ #include -#include #include #include #include diff --git a/libyul/optimiser/StackLimitEvader.cpp b/libyul/optimiser/StackLimitEvader.cpp index a7169f08a..31ba94937 100644 --- a/libyul/optimiser/StackLimitEvader.cpp +++ b/libyul/optimiser/StackLimitEvader.cpp @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/libyul/optimiser/StructuralSimplifier.cpp b/libyul/optimiser/StructuralSimplifier.cpp index 8dd4ab7f9..5b1ae2550 100644 --- a/libyul/optimiser/StructuralSimplifier.cpp +++ b/libyul/optimiser/StructuralSimplifier.cpp @@ -16,7 +16,6 @@ */ // SPDX-License-Identifier: GPL-3.0 #include -#include #include #include #include diff --git a/libyul/optimiser/SyntacticalEquality.cpp b/libyul/optimiser/SyntacticalEquality.cpp index 490e1c9e7..c7aed1937 100644 --- a/libyul/optimiser/SyntacticalEquality.cpp +++ b/libyul/optimiser/SyntacticalEquality.cpp @@ -20,7 +20,6 @@ #include -#include #include #include diff --git a/libyul/optimiser/UnusedFunctionsCommon.cpp b/libyul/optimiser/UnusedFunctionsCommon.cpp index 161a51b97..ed9d0ba4c 100644 --- a/libyul/optimiser/UnusedFunctionsCommon.cpp +++ b/libyul/optimiser/UnusedFunctionsCommon.cpp @@ -20,8 +20,6 @@ #include -#include - #include using namespace solidity;