Deprecate ID::Type(), replace with GetType()

This commit is contained in:
Jon Siwek 2020-05-07 20:47:33 -07:00
parent 6e647416d5
commit 3f07c57523
24 changed files with 111 additions and 106 deletions

View file

@ -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);