Remove cpp_scope

This commit is contained in:
Jonathan Müller 2017-01-21 22:30:51 +01:00
commit 023ce3e87c
5 changed files with 8 additions and 56 deletions

View file

@ -6,24 +6,6 @@
using namespace cppast;
bool cppast::is_scope(cpp_entity_type type) noexcept
{
switch (type)
{
case cpp_entity_type::namespace_t:
return true;
case cpp_entity_type::file_t:
case cpp_entity_type::namespace_alias_t:
case cpp_entity_type::using_directive_t:
case cpp_entity_type::using_declaration_t:
case cpp_entity_type::count:
break;
}
return false;
}
bool cppast::is_type(cpp_entity_type type) noexcept
{
switch (type)