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 Actionsvariables 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 173570 lib/Demangle/MicrosoftDemangleNodes.cpp
test/Demangle/ms-cxx11.test
test/Demangle/ms-cxx14.test
test/Demangle/ms-nested-scopes.test
test/Demangle/ms-operators.test
test/Demangle/ms-template-callback.test
test/Demangle/ms-templates-memptrs.test
test/Demangle/ms-templates.test
test/Demangle/ms-thunks.test
|
(I'm reordering this to make the order in the function match the order of the FC_ enum entries.)