OSDN Git Service

[MS Demangler] Add rudimentary C++11 Support
authorZachary Turner <zturner@google.com>
Mon, 30 Jul 2018 23:02:10 +0000 (23:02 +0000)
committerZachary Turner <zturner@google.com>
Mon, 30 Jul 2018 23:02:10 +0000 (23:02 +0000)
commitef4200131b97d9aac229b8edd244ace10b810feb
treed447ceb4e5dbe2b1915e56058dcb5089f47d463d
parentd08e6c74a6f78a114578c6c854379e531d19f0e9
[MS Demangler] Add rudimentary C++11 Support

This patch adds support for demangling r-value references, new
operators such as the ""_foo operator, lambdas, alias types,
nullptr_t, and various other C++11'isms.

There is 1 failing test remaining in this file, which appears to
be related to back-referencing. This type of problem has the
potential to get ugly so I'd rather fix it in a separate patch.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Demangle/MicrosoftDemangle.cpp
test/Demangle/ms-cxx11.test [new file with mode: 0644]