Steal comment of nested namespace
This commit is contained in:
parent
037619964f
commit
755f251da9
10 changed files with 52 additions and 35 deletions
|
|
@ -30,7 +30,7 @@ std::unique_ptr<cpp_entity> detail::try_parse_cpp_language_linkage(const parse_c
|
|||
auto builder = cpp_language_linkage::builder(name.c_str());
|
||||
context.comments.match(builder.get(), cur);
|
||||
detail::visit_children(cur, [&](const CXCursor& child) {
|
||||
auto entity = parse_entity(context, child);
|
||||
auto entity = parse_entity(context, &builder.get(), child);
|
||||
if (entity)
|
||||
builder.add_child(std::move(entity));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue