]> granicus.if.org Git - llvm/commit
Demangle: correct demangling for CV-qualified functions
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 24 Jan 2017 20:04:58 +0000 (20:04 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 24 Jan 2017 20:04:58 +0000 (20:04 +0000)
commit815bff1cc4972406ec525202555e3c5c0812e3bd
treed799dde9cc3fff01b1caef5eb9cab99db37e0cd8
parented1b025f1b2d8ea4a5b2023a2dfbde85c020e050
Demangle: correct demangling for CV-qualified functions

When demangling a CV-qualified function type with a final reference type
parameter, we would treat the reference type parameter as a r-value ref
accidentally.  This would result in the improper decoration of the
function type itself.

Resolves PR31741!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292976 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Demangle/ItaniumDemangle.cpp