diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-06-26 17:10:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-26 17:10:12 +0100 |
commit | aeea062dd43e164889f35c24b98cb1994ead50cb (patch) | |
tree | 0d6088e2b56faf8bf384802f3bd67b16b5697149 /clang/lib/CIR/CodeGen/CIRGenModule.cpp | |
parent | e0b83ca8a40958045280c46d4c3e1cbd6fe511b6 (diff) | |
download | llvm-aeea062dd43e164889f35c24b98cb1994ead50cb.zip llvm-aeea062dd43e164889f35c24b98cb1994ead50cb.tar.gz llvm-aeea062dd43e164889f35c24b98cb1994ead50cb.tar.bz2 |
[lldb][DataFormatter] Unwrap reference type when formatting std::unordered_map (#145872)
Desugar any potential references/typedefs before checking
`isStdTemplate`. Previously, the typename might've been:
```
const std::unordered_map<...> &
```
for references. This patch gets the pointee type before grabbing the
canonical type. `GetNonReferenceType` will unwrap typedefs too, so we
should always end up with a non-reference before we get to
`GetCanonicalType`.
https://github.com/llvm/llvm-project/issues/145847
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
0 files changed, 0 insertions, 0 deletions