mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5444 from Mordax/issue-5168-rmvirtual
Removing redundant virtual from override function declaration
This commit is contained in:
@@ -39,10 +39,10 @@ public:
|
||||
{ return std::unique_ptr<TestCase>(new ASTJSONTest(_filename)); }
|
||||
ASTJSONTest(std::string const& _filename);
|
||||
|
||||
virtual bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override;
|
||||
bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override;
|
||||
|
||||
virtual void printSource(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) const override;
|
||||
virtual void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override;
|
||||
void printSource(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) const override;
|
||||
void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override;
|
||||
private:
|
||||
std::vector<std::pair<std::string, std::string>> m_sources;
|
||||
std::string m_expectation;
|
||||
|
||||
@@ -57,10 +57,10 @@ public:
|
||||
{ return std::unique_ptr<TestCase>(new SyntaxTest(_filename)); }
|
||||
SyntaxTest(std::string const& _filename);
|
||||
|
||||
virtual bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override;
|
||||
bool run(std::ostream& _stream, std::string const& _linePrefix = "", bool const _formatted = false) override;
|
||||
|
||||
virtual void printSource(std::ostream &_stream, std::string const &_linePrefix = "", bool const _formatted = false) const override;
|
||||
virtual void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override
|
||||
void printSource(std::ostream &_stream, std::string const &_linePrefix = "", bool const _formatted = false) const override;
|
||||
void printUpdatedExpectations(std::ostream& _stream, std::string const& _linePrefix) const override
|
||||
{
|
||||
if (!m_errorList.empty())
|
||||
printErrorList(_stream, m_errorList, _linePrefix, false);
|
||||
|
||||
Reference in New Issue
Block a user