Add and parse cpp_auto_type

This commit is contained in:
Jonathan Müller 2017-03-27 12:10:40 +02:00
commit acb2f06bfd
5 changed files with 46 additions and 3 deletions

View file

@ -544,9 +544,8 @@ namespace
case CXType_MemberPointer:
return cpp_pointer_type::build(parse_member_pointee_type(context, cur, type));
// TODO: auto/decltype
case CXType_Auto:
break;
return make_leave_type(type, [](std::string&&) { return cpp_auto_type::build(); });
}
DEBUG_UNREACHABLE(detail::assert_handler{});