Remove cpp_scope
This commit is contained in:
parent
36425c096b
commit
023ce3e87c
5 changed files with 8 additions and 56 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue