summaryrefslogtreecommitdiffstats
path: root/llvm/test/Demangle/ms-template-callback.test
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-11-13 20:18:26 +0000
committerNico Weber <nicolasweber@gmx.de>2018-11-13 20:18:26 +0000
commita92b46395572a1049f4b5aaea0276cfcf9f46252 (patch)
tree6ea01701c140117e48c321fad3c0087ec65749f0 /llvm/test/Demangle/ms-template-callback.test
parentd8fd0ec0329de1181d47eca073843ca2b80e2acc (diff)
downloadbcm5719-llvm-a92b46395572a1049f4b5aaea0276cfcf9f46252.tar.gz
bcm5719-llvm-a92b46395572a1049f4b5aaea0276cfcf9f46252.zip
[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
Diffstat (limited to 'llvm/test/Demangle/ms-template-callback.test')
-rw-r--r--llvm/test/Demangle/ms-template-callback.test4
1 files changed, 2 insertions, 2 deletions
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)
OpenPOWER on IntegriCloud