Improve visit facility

This commit is contained in:
Jonathan Müller 2017-10-31 18:03:44 +01:00
commit d102d769c1
3 changed files with 198 additions and 50 deletions

View file

@ -24,8 +24,6 @@ void print_ast(const cppast::cpp_file& file)
}
else // if (info.event == cppast::visitor_info::leaf_entity) // a non-container entity
std::cout << prefix << "'" << e.name() << "' - " << cppast::to_string(e.kind()) << '\n';
return true; // continue with visit
});
}