aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CIR/CodeGen/CIRGenModule.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-06-26 17:10:12 +0100
committerGitHub <noreply@github.com>2025-06-26 17:10:12 +0100
commitaeea062dd43e164889f35c24b98cb1994ead50cb (patch)
tree0d6088e2b56faf8bf384802f3bd67b16b5697149 /clang/lib/CIR/CodeGen/CIRGenModule.cpp
parente0b83ca8a40958045280c46d4c3e1cbd6fe511b6 (diff)
downloadllvm-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