msvcrt: Demangle std::nullptr_t datatype.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2023-10-30 18:38:07 +01:00 committed by Alexandre Julliard
parent d77006fd5a
commit 2464b47d78
2 changed files with 8 additions and 0 deletions

View file

@ -1160,6 +1160,11 @@ static BOOL demangle_datatype(struct parsed_symbol* sym, struct datatype_t* ct,
sym->current++;
if (!get_qualified_type(ct, sym, '$', flags)) goto done;
}
else if (*sym->current == 'T')
{
sym->current++;
ct->left = str_printf(sym, "std::nullptr_t");
}
break;
}
break;

View file

@ -220,6 +220,9 @@ static void test___unDName(void)
"struct my_iter<int,0>",
NULL,
UNDNAME_NO_ARGUMENTS},
/* 8 */ {"??$foo@J_W$$T@bar@@YAJQB_W$$THQAUgod@@@Z",
"long __cdecl bar::foo<long,wchar_t,std::nullptr_t>(wchar_t const * const,std::nullptr_t,int,struct god * const)"},
};
unsigned i;
for (i = 0; i < ARRAY_SIZE(und_tests); i++)