mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
WIP
This commit is contained in:
@@ -181,11 +181,6 @@ bool SyntacticallyEqual::statementEqual(Block const& _lhs, Block const& _rhs)
|
||||
});
|
||||
}
|
||||
|
||||
bool SyntacticallyEqual::statementEqual(Comment const& _lhs, Comment const& _rhs)
|
||||
{
|
||||
return _lhs.text == _rhs.text;
|
||||
}
|
||||
|
||||
bool SyntacticallyEqual::visitDeclaration(TypedName const& _lhs, TypedName const& _rhs)
|
||||
{
|
||||
if (_lhs.type != _rhs.type)
|
||||
|
||||
@@ -58,7 +58,8 @@ public:
|
||||
bool statementEqual(Break const&, Break const&) { return true; }
|
||||
bool statementEqual(Continue const&, Continue const&) { return true; }
|
||||
bool statementEqual(Block const& _lhs, Block const& _rhs);
|
||||
bool statementEqual(Comment const& _lhs, Comment const& _rhs);
|
||||
bool statementEqual(Comment const&, Comment const&) { return true; }
|
||||
|
||||
private:
|
||||
bool statementEqual(Instruction const& _lhs, Instruction const& _rhs);
|
||||
bool statementEqual(Label const& _lhs, Label const& _rhs);
|
||||
|
||||
Reference in New Issue
Block a user