mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Deprecate ID::Type(), replace with GetType()
This commit is contained in:
parent
6e647416d5
commit
3f07c57523
24 changed files with 111 additions and 106 deletions
|
@ -274,7 +274,7 @@ void Manager::StartType(IntrusivePtr<ID> id)
|
|||
|
||||
static bool IsEnumType(ID* id)
|
||||
{
|
||||
return id->IsType() ? id->Type()->Tag() == TYPE_ENUM : false;
|
||||
return id->IsType() ? id->GetType()->Tag() == TYPE_ENUM : false;
|
||||
}
|
||||
|
||||
void Manager::Identifier(IntrusivePtr<ID> id)
|
||||
|
@ -300,7 +300,7 @@ void Manager::Identifier(IntrusivePtr<ID> id)
|
|||
|
||||
if ( id_info )
|
||||
{
|
||||
if ( IsFunc(id_info->GetID()->Type()->Tag()) )
|
||||
if ( IsFunc(id_info->GetID()->GetType()->Tag()) )
|
||||
{
|
||||
// Function may already been seen (declaration versus body).
|
||||
id_info->AddComments(comment_buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue