Merge remote-tracking branch 'origin/develop' into breaking

This commit is contained in:
chriseth
2020-12-14 11:33:40 +01:00
112 changed files with 950 additions and 226 deletions
+10
View File
@@ -91,6 +91,9 @@ namespace solidity::frontend
bool g_hasOutput = false;
namespace
{
std::ostream& sout()
{
g_hasOutput = true;
@@ -104,6 +107,8 @@ std::ostream& serr(bool _used = true)
return cerr;
}
}
#define cout
#define cerr
@@ -326,6 +331,9 @@ static bool needsHumanTargetedStdout(po::variables_map const& _args)
return false;
}
namespace
{
bool checkMutuallyExclusive(boost::program_options::variables_map const& args, std::string const& _optionA, std::string const& _optionB)
{
if (args.count(_optionA) && args.count(_optionB))
@@ -337,6 +345,8 @@ bool checkMutuallyExclusive(boost::program_options::variables_map const& args, s
return true;
}
}
void CommandLineInterface::handleBinary(string const& _contract)
{
if (m_args.count(g_argBinary))