Parse cpp_language_linkage
This commit is contained in:
parent
8fdfd3a707
commit
8d864bdbe1
7 changed files with 80 additions and 2 deletions
|
|
@ -8,6 +8,11 @@
|
|||
|
||||
using namespace cppast;
|
||||
|
||||
cpp_entity_kind cpp_language_linkage::kind() noexcept
|
||||
{
|
||||
return cpp_entity_kind::language_linkage_t;
|
||||
}
|
||||
|
||||
bool cpp_language_linkage::is_block() const noexcept
|
||||
{
|
||||
DEBUG_ASSERT(begin() != end(), detail::assert_handler{}, "empty container");
|
||||
|
|
@ -16,5 +21,5 @@ bool cpp_language_linkage::is_block() const noexcept
|
|||
|
||||
cpp_entity_kind cpp_language_linkage::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return cpp_entity_kind::language_linkage_t;
|
||||
return kind();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue