Fix issue with functions returning functions
This commit is contained in:
parent
9a0ac36715
commit
e9e9a3bbc5
3 changed files with 38 additions and 17 deletions
|
|
@ -32,8 +32,8 @@ inline std::unique_ptr<cppast::cpp_file> parse(const cppast::cpp_entity_index& i
|
|||
libclang_compile_config config;
|
||||
config.set_flags(cpp_standard::cpp_latest);
|
||||
|
||||
static stderr_diagnostic_logger logger;
|
||||
libclang_parser p(type_safe::ref(logger));
|
||||
stderr_diagnostic_logger logger;
|
||||
libclang_parser p(type_safe::ref(logger));
|
||||
|
||||
auto result = p.parse(idx, name, config);
|
||||
REQUIRE(!logger.error_logged());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue