Steal comment of nested namespace

This commit is contained in:
Jonathan Müller 2017-12-22 10:54:37 +01:00
commit 755f251da9
10 changed files with 52 additions and 35 deletions

View file

@ -35,7 +35,7 @@ namespace
DEBUG_ASSERT(!clang_Cursor_isNull(result), detail::parse_error_handler{}, cur,
"missing child of template");
auto entity = detail::parse_entity(context, result, cur);
auto entity = detail::parse_entity(context, nullptr, result, cur);
if (!entity)
return type_safe::nullopt;
DEBUG_ASSERT(p(entity->kind()), detail::parse_error_handler{}, cur,