aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2024-07-11 16:03:38 +0200
committerGitHub <noreply@github.com>2024-07-11 16:03:38 +0200
commit8b7263ba3051125ab2bb9df514bdaadaca1b637d (patch)
tree00ad466ac7d19e92ec5b13ac1c96a120badf0e56 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parentd9c26b9d560f4362503b8f0ec97a52a0a36a57ce (diff)
downloadllvm-8b7263ba3051125ab2bb9df514bdaadaca1b637d.zip
llvm-8b7263ba3051125ab2bb9df514bdaadaca1b637d.tar.gz
llvm-8b7263ba3051125ab2bb9df514bdaadaca1b637d.tar.bz2
[clang] CTAD: use index and depth to retrieve template parameter for TemplateParamsReferencedInTemplateArgumentList (#98013)
As described in https://github.com/llvm/llvm-project/issues/90209#issuecomment-2135972202, Clang may not preserve enough information during template argument deduction. This can result in a merely canonical `TemplateTypeParmType` with a null `Decl`, leading to an incomplete template parameter list for the synthesized deduction guide. This patch addresses the issue by using the index and depth information to retrieve the corresponding template parameter, rather than relying on `TTP->getDecl()`. Fixes #90209
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions