commit | b31402407404e987cf39b833005f6a63a95f1744 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Tue Jan 24 18:42:56 2017 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Tue Jan 24 18:42:56 2017 +0000 |
tree | 19fa6ae851a07970e4e874158e894e49d907233d | |
parent | 279d648944d5d8f04ccab7f9670d338630923adb [diff] |
cxa_demangle: avoid butchering the last parameter type Fix an off-by-one case which would destroy the final parameter in a CV-qualified function type with a reference. We still get the CV qualification incorrect, but at least we do not clobber the type name any longer. Partially fixes PR31741. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292963 91177308-0d34-0410-b5e6-96231b3b80d8