[MS Demangler] Demangle pointers to member functions.
authorZachary Turner <zturner@google.com>
Thu, 26 Jul 2018 20:20:10 +0000 (20:20 +0000)
committerZachary Turner <zturner@google.com>
Thu, 26 Jul 2018 20:20:10 +0000 (20:20 +0000)
commit38b78a7f0e8485140d2c97dff4f82b5c9c7ad0a9
tree4abc488be0af7a404467234008058725820af25a
parent6c8cbf6db0839e525db4969377fa8109b6a6fcc9
[MS Demangler] Demangle pointers to member functions.

After this patch, we can now properly demangle pointers to member
functions.  The calling convention is located in the wrong place,
but this will be fixed in a followup since it also affects non
member function pointers.

Differential Revision: https://reviews.llvm.org/D49639

llvm-svn: 338065
llvm/lib/Demangle/MicrosoftDemangle.cpp
llvm/lib/Demangle/StringView.h
llvm/test/Demangle/ms-basic.test
llvm/test/Demangle/ms-mangle.test