Add cpp_template_template_parameter
This commit is contained in:
parent
535b088123
commit
edb132981a
7 changed files with 153 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
// found in the top-level directory of this distribution.
|
||||
|
||||
#include <cppast/cpp_template_parameter.hpp>
|
||||
|
||||
#include <cppast/cpp_entity_kind.hpp>
|
||||
|
||||
using namespace cppast;
|
||||
|
|
@ -55,3 +56,13 @@ cpp_entity_kind cpp_non_type_template_parameter::do_get_entity_kind() const noex
|
|||
{
|
||||
return cpp_entity_kind::non_type_template_parameter_t;
|
||||
}
|
||||
|
||||
bool detail::cpp_template_ref_predicate::operator()(const cpp_entity& e)
|
||||
{
|
||||
return is_template(e.kind());
|
||||
}
|
||||
|
||||
cpp_entity_kind cpp_template_template_parameter::do_get_entity_kind() const noexcept
|
||||
{
|
||||
return cpp_entity_kind::template_template_parameter_t;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue