Add support for multiple namespace entities with the same name
This commit is contained in:
parent
08717b2ae7
commit
d21d017d8a
13 changed files with 207 additions and 203 deletions
|
|
@ -33,7 +33,10 @@ inline std::unique_ptr<cppast::cpp_file> parse(const cppast::cpp_entity_index& i
|
|||
|
||||
static stderr_diagnostic_logger logger;
|
||||
libclang_parser p(type_safe::ref(logger));
|
||||
return p.parse(idx, name, config);
|
||||
|
||||
auto result = p.parse(idx, name, config);
|
||||
REQUIRE(!logger.error_logged());
|
||||
return result;
|
||||
}
|
||||
|
||||
template <typename T, typename Func>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue