Remove unused static function basename.
This commit is contained in:
parent
1b3da449dc
commit
be06aa39ab
|
|
@ -171,13 +171,6 @@ extern "C" unsigned ivl_expr_lineno(ivl_expr_t net)
|
||||||
return net->lineno;
|
return net->lineno;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline static const char *basename(ivl_scope_t scope, const char *inst)
|
|
||||||
{
|
|
||||||
inst += strlen(ivl_scope_name(scope));
|
|
||||||
assert(*inst == '.');
|
|
||||||
return inst+1;
|
|
||||||
}
|
|
||||||
|
|
||||||
extern "C" ivl_variable_type_t ivl_const_type(ivl_net_const_t net)
|
extern "C" ivl_variable_type_t ivl_const_type(ivl_net_const_t net)
|
||||||
{
|
{
|
||||||
assert(net);
|
assert(net);
|
||||||
|
|
|
||||||
7
t-dll.cc
7
t-dll.cc
|
|
@ -151,13 +151,6 @@ void ivl_net_const_s::operator delete(void*, size_t)
|
||||||
|
|
||||||
static StringHeapLex net_const_strings;
|
static StringHeapLex net_const_strings;
|
||||||
|
|
||||||
inline static const char *basename(ivl_scope_t scope, const char *inst)
|
|
||||||
{
|
|
||||||
inst += strlen(ivl_scope_name(scope));
|
|
||||||
assert(*inst == '.');
|
|
||||||
return inst+1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static perm_string make_scope_name(const hname_t&name)
|
static perm_string make_scope_name(const hname_t&name)
|
||||||
{
|
{
|
||||||
if (! name.has_numbers())
|
if (! name.has_numbers())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue