Parse cpp_using_directive/declaration
Both of them now also don't have a name() anymore as it was inconsistent with get_full_name().
This commit is contained in:
parent
45e9e5305b
commit
087b9583ff
7 changed files with 176 additions and 22 deletions
|
|
@ -8,6 +8,9 @@ using namespace cppast;
|
|||
|
||||
std::string cppast::full_name(const cpp_entity& e)
|
||||
{
|
||||
if (e.name().empty())
|
||||
return "";
|
||||
|
||||
std::string scopes;
|
||||
|
||||
for (auto cur = e.parent(); cur; cur = cur.value().parent())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue