Parse cpp_constructor

This commit is contained in:
Jonathan Müller 2017-03-12 18:18:26 +01:00
commit 68c74a9f07
8 changed files with 136 additions and 14 deletions

View file

@ -28,11 +28,16 @@ cpp_entity_kind cpp_conversion_op::do_get_entity_kind() const noexcept
return kind();
}
cpp_entity_kind cpp_constructor::do_get_entity_kind() const noexcept
cpp_entity_kind cpp_constructor::kind() noexcept
{
return cpp_entity_kind::constructor_t;
}
cpp_entity_kind cpp_constructor::do_get_entity_kind() const noexcept
{
return kind();
}
cpp_entity_kind cpp_destructor::do_get_entity_kind() const noexcept
{
return cpp_entity_kind::destructor_t;