Parse cpp_function_template

This commit is contained in:
Jonathan Müller 2017-03-25 14:34:04 +01:00
commit eeb48f1df5
18 changed files with 397 additions and 60 deletions

View file

@ -4,12 +4,17 @@
#include <cppast/cpp_entity.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
std::string cppast::full_name(const cpp_entity& e)
{
if (e.name().empty())
return "";
else if (is_parameter(e.kind()))
// parameters don't have a full name
return e.name();
std::string scopes;