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.
| Paths 
 |  Differential  D54396  
[MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass. ClosedPublic Authored by thakis on Nov 11 2018, 12:23 PM. 
Details Summary 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. 
Diff Detail 
 Event Timeline
 thakis retitled this revision from [MS Demangler] Print public:, protected:, private: if set in FunctionClass. to [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a variable's StorageClass..Comment Actions variables too This revision is now accepted and ready to land.Nov 13 2018, 11:30 AM Closed by commit rL346791: [MS Demangler] Print public:, protected:, private: if set in FunctionClass or a… (authored by nico).  ·  Explain WhyNov 13 2018, 12:21 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 173909 llvm/trunk/lib/Demangle/MicrosoftDemangleNodes.cpp
 llvm/trunk/test/Demangle/ms-cxx11.test
 llvm/trunk/test/Demangle/ms-cxx14.test
 llvm/trunk/test/Demangle/ms-nested-scopes.test
 llvm/trunk/test/Demangle/ms-operators.test
 llvm/trunk/test/Demangle/ms-template-callback.test
 llvm/trunk/test/Demangle/ms-templates-memptrs.test
 llvm/trunk/test/Demangle/ms-templates.test
 llvm/trunk/test/Demangle/ms-thunks.test
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||