[qfcc] Print auto for auto type declarations

Better than an ICE :P
This commit is contained in:
Bill Currie 2025-01-21 13:24:32 +09:00
parent f4cbe3f220
commit b25e64591f

View file

@ -1092,6 +1092,10 @@ print_type_str (dstring_t *str, const type_t *type)
dasprintf (str, " (null)");
return;
}
if (is_auto (type)) {
dasprintf (str, " auto");
return;
}
switch (type->meta) {
case ty_meta_count:
break;