Improve LLDB's embedded C++ demangler by addressing the following two issues:
authorKate Stone <katherine.stone@apple.com>
Tue, 22 Jul 2014 00:18:52 +0000 (00:18 +0000)
committerKate Stone <katherine.stone@apple.com>
Tue, 22 Jul 2014 00:18:52 +0000 (00:18 +0000)
commitbb1321a7befee0bc6f19101ae415d288eaf9b5d7
treea502cbe59280ff6de6fb82207f10664a5369326f
parentd6906e4ffe57bcee64e928e1204e0efd84423037
Improve LLDB's embedded C++ demangler by addressing the following two issues:

1) Preserve ref qualification state in a local variable while parsing a nested name.  Previously, the state was recorded in the shared db reference and could therefore be overwritten when parsing multiple levels of nested names (e.g.: when a qualified name has qualified template args.)

2) Address an off-by-one error when testing whether or not a thunk is non-virtual.  This resulted in the demangled identifying all thunks as non-virtual.

llvm-svn: 213591
lldb/source/Core/Mangled.cpp