Improve function scope parsing
This commit is contained in:
parent
c07f80ccf3
commit
7a9f6fdfac
5 changed files with 126 additions and 66 deletions
|
|
@ -74,7 +74,7 @@ std::unique_ptr<cpp_entity> detail::parse_cpp_friend(const detail::parse_context
|
|||
}
|
||||
else if (clang_isDeclaration(kind))
|
||||
{
|
||||
entity = parse_entity(context, child);
|
||||
entity = parse_entity(context, child, cur);
|
||||
if (entity)
|
||||
{
|
||||
// steal comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue