From 40075e11ab18abf53ef6dddae5034b2b5c78f490 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 14 Dec 2015 12:02:59 +0100 Subject: [PATCH] Code formatting. --- vhdlpp/expression_elaborate.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vhdlpp/expression_elaborate.cc b/vhdlpp/expression_elaborate.cc index 9c24cdc80..de5b9c598 100644 --- a/vhdlpp/expression_elaborate.cc +++ b/vhdlpp/expression_elaborate.cc @@ -920,31 +920,31 @@ const VType* ExpName::probe_type(Entity*ent, ScopeBase*scope) const if(ent) { if (const InterfacePort*cur = ent->find_port(name_)) { - ivl_assert(*this, cur->type); - return cur->type; + ivl_assert(*this, cur->type); + return cur->type; } if (const InterfacePort*cur = ent->find_generic(name_)) { - ivl_assert(*this, cur->type); - return cur->type; + ivl_assert(*this, cur->type); + return cur->type; } } if(scope) { if (Signal*sig = scope->find_signal(name_)) - return sig->peek_type(); + return sig->peek_type(); if (Variable*var = scope->find_variable(name_)) - return var->peek_type(); + return var->peek_type(); const VType*type = 0; Expression*cval = 0; if (scope->find_constant(name_, type, cval)) - return type; + return type; Architecture*arc = dynamic_cast(scope); if (arc && (type = arc->probe_genvar_type(name_))) { - return type; + return type; } if (const InterfacePort*port = scope->find_param(name_)) {