Fixed building on macos
This commit is contained in:
@@ -600,8 +600,10 @@ void translation_unit_visitor::process_field(
|
||||
|
||||
auto &tr = cx::util::unreferenced(cppast::remove_cv(mv.type()));
|
||||
|
||||
#ifndef __APPLE__
|
||||
LOG_DBG("Processing field {} with unreferenced type of kind {}", mv.name(),
|
||||
tr.kind());
|
||||
#endif
|
||||
|
||||
if (tr.kind() == cppast::cpp_type_kind::builtin_t) {
|
||||
LOG_DBG("Builtin type found for field: {}", m.name());
|
||||
@@ -1076,8 +1078,10 @@ bool translation_unit_visitor::find_relationships(const cppast::cpp_type &t_,
|
||||
const auto fn =
|
||||
cx::util::full_name(cppast::remove_cv(t_), ctx.entity_index(), false);
|
||||
|
||||
#ifndef __APPLE__
|
||||
LOG_DBG("Finding relationships for type {}, {}, {}", cppast::to_string(t_),
|
||||
t_.kind(), fn);
|
||||
#endif
|
||||
|
||||
relationship_t relationship_type = relationship_hint;
|
||||
const auto &t = cppast::remove_cv(cx::util::unreferenced(t_));
|
||||
|
||||
Reference in New Issue
Block a user