From a92b46395572a1049f4b5aaea0276cfcf9f46252 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 13 Nov 2018 20:18:26 +0000 Subject: [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. undname prints them, and the information is in the decorated name, so we probably shouldn't lose it when undecorating. I spot-checked a few of the funnier-looking outputs, and undname has the same output. Differential Revision: https://reviews.llvm.org/D54396 llvm-svn: 346791 --- llvm/test/Demangle/ms-template-callback.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/Demangle/ms-template-callback.test') diff --git a/llvm/test/Demangle/ms-template-callback.test b/llvm/test/Demangle/ms-template-callback.test index 88c4493d2bb..488cd7fdc13 100644 --- a/llvm/test/Demangle/ms-template-callback.test +++ b/llvm/test/Demangle/ms-template-callback.test @@ -47,7 +47,7 @@ ; CHECK: void __cdecl WrapFnRef<&void __cdecl VoidFn(void)>(void) ??$WrapFnPtr@$1?VoidStaticMethod@Thing@@SAXXZ@@YAXXZ -; CHECK: void __cdecl WrapFnPtr<&static void __cdecl Thing::VoidStaticMethod(void)>(void) +; CHECK: void __cdecl WrapFnPtr<&public: static void __cdecl Thing::VoidStaticMethod(void)>(void) ??$WrapFnRef@$1?VoidStaticMethod@Thing@@SAXXZ@@YAXXZ -; CHECK: void __cdecl WrapFnRef<&static void __cdecl Thing::VoidStaticMethod(void)>(void) +; CHECK: void __cdecl WrapFnRef<&public: static void __cdecl Thing::VoidStaticMethod(void)>(void) -- cgit v1.2.3