Merge pull request #11491 from TerranCivilian/fix-10269

Remove unneeded include files
This commit is contained in:
chriseth 2021-06-07 20:15:20 +02:00 committed by GitHub
commit 7d8a4e63d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 0 additions and 65 deletions

View File

@ -29,7 +29,6 @@
#include <functional>
#include <tuple>
#include <utility>
using namespace std;
using namespace solidity;

View File

@ -24,7 +24,6 @@
#include <libsolutil/Common.h>
#include <libsolutil/CommonIO.h>
#include <algorithm>
#include <functional>
using namespace std;

View File

@ -26,7 +26,6 @@
#include <libevmasm/ExpressionClasses.h>
#include <libevmasm/Assembly.h>
#include <libevmasm/CommonSubexpressionEliminator.h>
#include <libevmasm/RuleList.h>
#include <libsolutil/Assertions.h>

View File

@ -23,7 +23,6 @@
#include <liblangutil/ErrorReporter.h>
#include <liblangutil/SourceLocation.h>
#include <cstdlib>
#include <memory>
using namespace std;

View File

@ -21,7 +21,6 @@
#include <algorithm>
#include <cmath>
#include <iomanip>
using namespace std;
using namespace solidity;

View File

@ -20,7 +20,6 @@
*/
#include <liblangutil/SourceReferenceFormatter.h>
#include <liblangutil/Scanner.h>
#include <liblangutil/Exceptions.h>
#include <libsolutil/UTF8.h>
#include <iomanip>

View File

@ -25,8 +25,6 @@
#include <libsolidity/interface/StandardCompiler.h>
#include <libsolidity/interface/Version.h>
#include <libyul/YulString.h>
#include <libsolutil/Common.h>
#include <libsolutil/JSON.h>
#include <cstdlib>
#include <list>

View File

@ -19,7 +19,6 @@
#include <libsolidity/analysis/ControlFlowGraph.h>
#include <libsolidity/analysis/ControlFlowBuilder.h>
#include <algorithm>
using namespace std;
using namespace solidity::langutil;

View File

@ -24,7 +24,6 @@
#include <libsolidity/analysis/DeclarationContainer.h>
#include <libsolidity/ast/AST.h>
#include <libsolidity/ast/Types.h>
#include <libsolutil/StringUtils.h>
using namespace std;

View File

@ -30,9 +30,6 @@
#include <libsolutil/UTF8.h>
#include <boost/algorithm/string.hpp>
#include <memory>
#include <string>
using namespace std;

View File

@ -31,7 +31,6 @@
#include <boost/algorithm/string.hpp>
#include <algorithm>
#include <functional>
#include <utility>

View File

@ -48,10 +48,7 @@
#include <liblangutil/Scanner.h>
#include <liblangutil/SourceReferenceFormatter.h>
#include <boost/algorithm/string/replace.hpp>
#include <utility>
#include <numeric>
// Change to "define" to output all intermediate code
#undef SOL_OUTPUT_ASM

View File

@ -18,7 +18,6 @@
#include <libsolidity/formal/BMC.h>
#include <libsolidity/formal/SymbolicState.h>
#include <libsolidity/formal/SymbolicTypes.h>
#include <libsmtutil/SMTPortfolio.h>

View File

@ -20,7 +20,6 @@
#include <libsolidity/formal/EncodingContext.h>
#include <libsolidity/formal/SymbolicTypes.h>
#include <libsolidity/ast/AST.h>
#include <libsolutil/Algorithms.h>

View File

@ -19,7 +19,6 @@
#include <liblangutil/Exceptions.h>
#include <libsolutil/CommonData.h>
#include <libsolutil/CommonIO.h>
#include <libsolutil/Exceptions.h>

View File

@ -26,7 +26,6 @@
#include <boost/filesystem.hpp>
#include <iostream>
#include <cstdlib>
#include <fstream>
#if defined(_WIN32)
#include <windows.h>

View File

@ -18,7 +18,6 @@
#include <libsolutil/IpfsHash.h>
#include <libsolutil/Assertions.h>
#include <libsolutil/Exceptions.h>
#include <libsolutil/picosha2.h>
#include <libsolutil/CommonData.h>

View File

@ -23,8 +23,6 @@
#include <libsolutil/Keccak256.h>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;

View File

@ -23,7 +23,6 @@
*/
#include <libsolutil/StringUtils.h>
#include <algorithm>
#include <string>
#include <vector>

View File

@ -35,12 +35,10 @@
#include <libsolutil/StringUtils.h>
#include <libsolutil/Visitor.h>
#include <boost/range/adaptor/reversed.hpp>
#include <boost/algorithm/string.hpp>
#include <memory>
#include <functional>
#include <utility>
using namespace std;
using namespace solidity;

View File

@ -31,7 +31,6 @@
#include <boost/algorithm/string.hpp>
#include <cctype>
#include <algorithm>
using namespace std;

View File

@ -25,7 +25,6 @@
#include <libyul/AsmAnalysis.h>
#include <libyul/AsmAnalysisInfo.h>
#include <libyul/AsmPrinter.h>
#include <libyul/backends/evm/EthAssemblyAdapter.h>
#include <libyul/backends/evm/EVMAssembly.h>
#include <libyul/backends/evm/EVMCodeTransform.h>
@ -35,7 +34,6 @@
#include <libyul/backends/wasm/WasmDialect.h>
#include <libyul/backends/wasm/WasmObjectCompiler.h>
#include <libyul/backends/wasm/EVMToEwasmTranslator.h>
#include <libyul/optimiser/Metrics.h>
#include <libyul/ObjectParser.h>
#include <libyul/optimiser/Suite.h>

View File

@ -26,8 +26,6 @@
#include <libyul/backends/evm/EVMCodeTransform.h>
#include <libyul/backends/evm/NoOutputAssembly.h>
#include <liblangutil/EVMVersion.h>
using namespace std;
using namespace solidity;
using namespace solidity::yul;

View File

@ -21,8 +21,6 @@
#include <libyul/Scope.h>
#include <libsolutil/Visitor.h>
using namespace std;
using namespace solidity;
using namespace solidity::yul;

View File

@ -30,7 +30,6 @@
#include <boost/algorithm/string.hpp>
#include <algorithm>
#include <iterator>
#include <sstream>
#include <vector>

View File

@ -29,7 +29,6 @@
#include <libevmasm/Instruction.h>
#include <libevmasm/GasMeter.h>
#include <libsolutil/Visitor.h>
#include <libsolutil/CommonData.h>
using namespace std;

View File

@ -26,7 +26,6 @@
#include <libyul/Object.h>
#include <libyul/Exceptions.h>
#include <libevmasm/Assembly.h>
using namespace solidity::yul;
using namespace std;

View File

@ -23,8 +23,6 @@
#include <libyul/backends/wasm/WasmDialect.h>
#include <libyul/optimiser/NameCollector.h>
#include <libyul/AST.h>
#include <libyul/Dialect.h>
#include <libyul/Utilities.h>

View File

@ -21,8 +21,6 @@
#include <libyul/optimiser/ASTCopier.h>
#include <libyul/Exceptions.h>
#include <libyul/AST.h>
#include <libsolutil/Common.h>

View File

@ -19,7 +19,6 @@
#include <libyul/optimiser/BlockFlattener.h>
#include <libyul/AST.h>
#include <libsolutil/Visitor.h>
#include <libsolutil/CommonData.h>
#include <functional>

View File

@ -24,8 +24,6 @@
#include <libyul/AST.h>
#include <libyul/Utilities.h>
#include <libsolutil/CommonData.h>
using namespace std;
using namespace solidity;
using namespace solidity::yul;

View File

@ -21,7 +21,6 @@
#include <libyul/optimiser/CommonSubexpressionEliminator.h>
#include <libyul/optimiser/Metrics.h>
#include <libyul/optimiser/SyntacticalEquality.h>
#include <libyul/optimiser/CallGraphGenerator.h>
#include <libyul/optimiser/Semantics.h>

View File

@ -18,10 +18,8 @@
#include <libyul/optimiser/ConditionalSimplifier.h>
#include <libyul/optimiser/Semantics.h>
#include <libyul/AST.h>
#include <libyul/Utilities.h>
#include <libyul/optimiser/NameCollector.h>
#include <libsolutil/CommonData.h>
#include <libsolutil/Visitor.h>
using namespace std;
using namespace solidity;

View File

@ -21,7 +21,6 @@
#include <libyul/Utilities.h>
#include <libyul/optimiser/NameCollector.h>
#include <libsolutil/CommonData.h>
#include <libsolutil/Visitor.h>
using namespace std;
using namespace solidity;

View File

@ -25,7 +25,6 @@
#include <libyul/AST.h>
#include <libevmasm/SemanticInformation.h>
#include <libevmasm/AssemblyItem.h>
#include <algorithm>

View File

@ -22,7 +22,6 @@
#include <libyul/optimiser/ExpressionSplitter.h>
#include <libyul/optimiser/ASTWalker.h>
#include <libyul/optimiser/OptimiserStep.h>
#include <libyul/optimiser/TypeInfo.h>
@ -30,7 +29,6 @@
#include <libyul/Dialect.h>
#include <libsolutil/CommonData.h>
#include <libsolutil/Visitor.h>
using namespace std;
using namespace solidity;

View File

@ -22,9 +22,7 @@
#include <libyul/optimiser/FullInliner.h>
#include <libyul/optimiser/ASTCopier.h>
#include <libyul/optimiser/ASTWalker.h>
#include <libyul/optimiser/NameCollector.h>
#include <libyul/optimiser/OptimizerUtilities.h>
#include <libyul/optimiser/Metrics.h>
#include <libyul/optimiser/SSAValueTracker.h>
#include <libyul/optimiser/Semantics.h>

View File

@ -25,7 +25,6 @@
#include <libyul/Utilities.h>
#include <libyul/optimiser/SimplificationRules.h>
#include <libyul/optimiser/DataFlowAnalyzer.h>
#include <libyul/optimiser/Semantics.h>
#include <libsolutil/CommonData.h>

View File

@ -30,7 +30,6 @@
#include <libyul/AST.h>
#include <libyul/Utilities.h>
#include <libevmasm/Instruction.h>
#include <libevmasm/GasMeter.h>
#include <libsolutil/Keccak256.h>

View File

@ -26,9 +26,7 @@
#include <libyul/Utilities.h>
#include <libevmasm/Instruction.h>
#include <libevmasm/GasMeter.h>
#include <libsolutil/Visitor.h>
#include <libsolutil/CommonData.h>
using namespace std;

View File

@ -21,13 +21,11 @@
#include <libyul/optimiser/SSAValueTracker.h>
#include <libyul/optimiser/Semantics.h>
#include <libyul/AST.h>
#include <libyul/Utilities.h>
#include <libyul/Dialect.h>
#include <libsmtutil/SMTPortfolio.h>
#include <libsmtutil/Helpers.h>
#include <libsolutil/Visitor.h>
#include <libsolutil/CommonData.h>
#include <utility>

View File

@ -21,7 +21,6 @@
#include <libyul/optimiser/StackCompressor.h>
#include <libyul/optimiser/SSAValueTracker.h>
#include <libyul/optimiser/NameCollector.h>
#include <libyul/optimiser/Rematerialiser.h>
#include <libyul/optimiser/UnusedPruner.h>

View File

@ -22,7 +22,6 @@
#include <libyul/optimiser/StackToMemoryMover.h>
#include <libyul/backends/evm/EVMDialect.h>
#include <libyul/AST.h>
#include <libyul/Dialect.h>
#include <libyul/Exceptions.h>
#include <libyul/Object.h>
#include <libyul/Utilities.h>

View File

@ -16,7 +16,6 @@
*/
// SPDX-License-Identifier: GPL-3.0
#include <libyul/optimiser/StructuralSimplifier.h>
#include <libyul/optimiser/Semantics.h>
#include <libyul/AST.h>
#include <libyul/Utilities.h>
#include <libsolutil/CommonData.h>

View File

@ -20,7 +20,6 @@
#include <libyul/optimiser/SyntacticalEquality.h>
#include <libyul/Exceptions.h>
#include <libyul/AST.h>
#include <libyul/Utilities.h>

View File

@ -20,8 +20,6 @@
#include <libyul/Dialect.h>
#include <liblangutil/SourceLocation.h>
#include <libsolutil/CommonData.h>
using namespace solidity;