Fix issue with asymmetric common parents of friend function and friend

This commit is contained in:
Jonathan Müller 2017-10-09 09:05:20 +02:00
commit 49d77c5543
3 changed files with 86 additions and 16 deletions

View file

@ -49,7 +49,7 @@ namespace cppast
return semantic_parent_;
}
/// \returns The name of the semantic parent, if it has own,
/// \returns The name of the semantic parent, if it has one,
/// else the empty string.
/// \notes This may include template parameters.
std::string semantic_scope() const noexcept