[PATCH] D49639: [MS Demangler] Demangle pointers to member functions

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 09:57:11 PDT 2018


ruiu added a comment.

Even though `int __cdecl (*)(void) __cdecl (B::*volatile memptrtofun7)(void)` is easier to read, it is not a valid piece of code, no? It is unfortunate that the C type declaration is so hard to read, but I believe people expect that demangler emits function declaration not in some "improved" form but in the regular C grammar.


https://reviews.llvm.org/D49639





More information about the llvm-commits mailing list