From f58b64800f321e5b19a483eacf682fa894ed1c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Tue, 23 Feb 2021 14:02:35 +0100 Subject: [PATCH] Fix 'switch' style in FunctionCallGraph --- libsolidity/analysis/FunctionCallGraph.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/libsolidity/analysis/FunctionCallGraph.cpp b/libsolidity/analysis/FunctionCallGraph.cpp index 7736169c0..b01ef1f21 100644 --- a/libsolidity/analysis/FunctionCallGraph.cpp +++ b/libsolidity/analysis/FunctionCallGraph.cpp @@ -262,13 +262,14 @@ ostream& solidity::frontend::operator<<(ostream& _out, CallGraph::Node const& _n if (holds_alternative(_node)) switch (get(_node)) { - case CallGraph::SpecialNode::InternalDispatch: - _out << "InternalDispatch"; - break; - case CallGraph::SpecialNode::Entry: - _out << "Entry"; - break; - default: solAssert(false, "Invalid SpecialNode type"); + case CallGraph::SpecialNode::InternalDispatch: + _out << "InternalDispatch"; + break; + case CallGraph::SpecialNode::Entry: + _out << "Entry"; + break; + default: + solAssert(false, "Invalid SpecialNode type"); } else {