Add cpp_function_template

This commit is contained in:
Jonathan Müller 2017-02-01 21:29:05 +01:00
commit 93c6e0f44c
6 changed files with 71 additions and 0 deletions

View file

@ -11,6 +11,7 @@
#include <cppast/cpp_enum.hpp>
#include <cppast/cpp_file.hpp>
#include <cppast/cpp_function.hpp>
#include <cppast/cpp_function_template.hpp>
#include <cppast/cpp_language_linkage.hpp>
#include <cppast/cpp_member_function.hpp>
#include <cppast/cpp_namespace.hpp>
@ -63,6 +64,8 @@ bool detail::visit(const cpp_entity& e, detail::visitor_callback_t cb, void* fun
return handle_container<cpp_template_template_parameter>(e, cb, functor);
case cpp_entity_kind::alias_template_t:
return handle_container<cpp_alias_template>(e, cb, functor);
case cpp_entity_kind::function_template_t:
return handle_container<cpp_function_template>(e, cb, functor);
case cpp_entity_kind::namespace_alias_t:
case cpp_entity_kind::using_directive_t: