msvcrt: Add support for UNDNAME_NO_THISTYPE flag in __unDName.

This commit is contained in:
Piotr Caban 2013-10-22 16:46:43 +02:00 committed by Alexandre Julliard
parent 44ebba9d5e
commit 0d17c47480
2 changed files with 2 additions and 0 deletions

View File

@ -1318,6 +1318,7 @@ static void test_demangle(void)
/* 125 */ {"?_dispatch@_impl_Engine@SalomeApp@@$R4CE@BA@PPPPPPPM@7AE_NAAVomniCallHandle@@@Z",
"[thunk]:public: virtual bool __thiscall SalomeApp::_impl_Engine::_dispatch`vtordispex{36,16,4294967292,8}' (class omniCallHandle &)",
"?_dispatch@_impl_Engine@SalomeApp@@$R4CE@BA@PPPPPPPM@7AE_NAAVomniCallHandle@@@Z"},
/* 126 */ {"?_Doraise@bad_cast@std@@MEBAXXZ", "protected: virtual void __cdecl std::bad_cast::_Doraise(void)", NULL, 0x60},
};
int i, num_test = (sizeof(test)/sizeof(test[0]));
char* name;

View File

@ -1235,6 +1235,7 @@ static BOOL handle_method(struct parsed_symbol* sym, BOOL cast_op)
mark = sym->stack.num;
if (has_args && !(args_str = get_args(sym, &array_pmt, TRUE, '(', ')'))) goto done;
if (sym->flags & UNDNAME_NAME_ONLY) args_str = modifier = NULL;
if (sym->flags & UNDNAME_NO_THISTYPE) modifier = NULL;
sym->stack.num = mark;
/* Note: '()' after 'Z' means 'throws', but we don't care here