Add cpp_using_directive

This commit is contained in:
Jonathan Müller 2017-01-21 13:30:53 +01:00
commit b54410cab2
4 changed files with 46 additions and 0 deletions

View file

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

View file

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