Add cpp_using_directive
This commit is contained in:
parent
bbfef3151d
commit
b54410cab2
4 changed files with 46 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ bool cppast::is_scope(cpp_entity_type type) noexcept
|
|||
|
||||
case cpp_entity_type::file_t:
|
||||
case cpp_entity_type::namespace_alias_t:
|
||||
case cpp_entity_type::using_directive_t:
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,3 +23,8 @@ cpp_entity_type cpp_namespace_alias::do_get_entity_type() const noexcept
|
|||
{
|
||||
return cpp_entity_type::namespace_alias_t;
|
||||
}
|
||||
|
||||
cpp_entity_type cpp_using_directive::do_get_entity_type() const noexcept
|
||||
{
|
||||
return cpp_entity_type::using_directive_t;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue