mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix 'switch' style in FunctionCallGraph
This commit is contained in:
parent
7a85516b82
commit
f58b64800f
@ -262,13 +262,14 @@ ostream& solidity::frontend::operator<<(ostream& _out, CallGraph::Node const& _n
|
|||||||
if (holds_alternative<CallGraph::SpecialNode>(_node))
|
if (holds_alternative<CallGraph::SpecialNode>(_node))
|
||||||
switch (get<CallGraph::SpecialNode>(_node))
|
switch (get<CallGraph::SpecialNode>(_node))
|
||||||
{
|
{
|
||||||
case CallGraph::SpecialNode::InternalDispatch:
|
case CallGraph::SpecialNode::InternalDispatch:
|
||||||
_out << "InternalDispatch";
|
_out << "InternalDispatch";
|
||||||
break;
|
break;
|
||||||
case CallGraph::SpecialNode::Entry:
|
case CallGraph::SpecialNode::Entry:
|
||||||
_out << "Entry";
|
_out << "Entry";
|
||||||
break;
|
break;
|
||||||
default: solAssert(false, "Invalid SpecialNode type");
|
default:
|
||||||
|
solAssert(false, "Invalid SpecialNode type");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user