Add tests for cpp_macro_definition parsing
This commit is contained in:
parent
0684be5788
commit
58cc481318
5 changed files with 127 additions and 1 deletions
|
|
@ -8,11 +8,16 @@
|
|||
|
||||
using namespace cppast;
|
||||
|
||||
cpp_entity_kind cpp_macro_definition::do_get_entity_kind() const noexcept
|
||||
cpp_entity_kind cpp_macro_definition::kind() noexcept
|
||||
{
|
||||
return cpp_entity_kind::macro_definition_t;
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_macro_definition::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return kind();
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_include_directive::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return cpp_entity_kind::include_directive_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue