Clean up includes in the fuzzer

This commit is contained in:
Alex Beregszaszi 2019-01-29 16:14:28 +00:00
parent 0e2b43e141
commit 1276f3c4f3
3 changed files with 15 additions and 13 deletions

View File

@ -19,11 +19,16 @@
*/
#include <test/tools/fuzzer_common.h>
#include <libdevcore/CommonIO.h>
#include <boost/program_options.hpp>
#include <string>
#include <iostream>
using namespace std;
using namespace dev;
using namespace dev::eth;
namespace po = boost::program_options;
@ -98,4 +103,4 @@ Allowed options)",
FuzzerUtil::testCompiler(input, !arguments.count("without-optimizer"), quiet);
return 0;
}
}

View File

@ -16,7 +16,13 @@
*/
#include <test/tools/fuzzer_common.h>
#include <libdevcore/CommonData.h>
#include <libdevcore/JSON.h>
#include <libevmasm/Assembly.h>
#include <libevmasm/ConstantOptimiser.h>
#include <libsolc/libsolc.h>
#include <sstream>
using namespace std;
using namespace dev;

View File

@ -15,16 +15,7 @@
along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libdevcore/CommonIO.h>
#include <libevmasm/Assembly.h>
#include <libsolc/libsolc.h>
#include <libevmasm/ConstantOptimiser.h>
#include <libdevcore/JSON.h>
#include <string>
#include <sstream>
#include <iostream>
struct FuzzerUtil
{
@ -32,4 +23,4 @@ struct FuzzerUtil
static void testCompiler(std::string const& _input, bool _optimize, bool _quiet);
static void testConstantOptimizer(std::string const& _input, bool _quiet);
static void testStandardCompiler(std::string const& _input, bool _quiet);
};
};