Add cpp_variable_template

This commit is contained in:
Jonathan Müller 2017-02-05 22:03:57 +01:00
commit 78157d43fc
5 changed files with 64 additions and 0 deletions

View file

@ -69,6 +69,8 @@ const char* cppast::to_string(cpp_entity_kind kind) noexcept
case cpp_entity_kind::alias_template_t:
return "alias template";
case cpp_entity_kind::variable_template_t:
return "variable template";
case cpp_entity_kind::function_template_t:
return "function template";
case cpp_entity_kind::function_template_specialization_t:
@ -116,6 +118,7 @@ bool cppast::is_type(cpp_entity_kind kind) noexcept
case cpp_entity_kind::non_type_template_parameter_t:
case cpp_entity_kind::template_template_parameter_t:
case cpp_entity_kind::alias_template_t:
case cpp_entity_kind::variable_template_t:
case cpp_entity_kind::function_template_t:
case cpp_entity_kind::function_template_specialization_t:
case cpp_entity_kind::class_template_t:
@ -132,6 +135,7 @@ bool cppast::is_template(cpp_entity_kind kind) noexcept
switch (kind)
{
case cpp_entity_kind::alias_template_t:
case cpp_entity_kind::variable_template_t:
case cpp_entity_kind::function_template_t:
case cpp_entity_kind::function_template_specialization_t:
case cpp_entity_kind::class_template_t: