aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2024-02-06 09:59:16 +0800
committerGitHub <noreply@github.com>2024-02-06 09:59:16 +0800
commit2c2d291b4568381999442e47fc77f949f19be0bc (patch)
treec751805fda2fcd03482389d0ea425ea3a83a509e /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent0123cefc00177e4fc7daa0dadf98ca8336760785 (diff)
downloadllvm-2c2d291b4568381999442e47fc77f949f19be0bc.zip
llvm-2c2d291b4568381999442e47fc77f949f19be0bc.tar.gz
llvm-2c2d291b4568381999442e47fc77f949f19be0bc.tar.bz2
[concepts] Extract function template pack arguments from the current instantiation if possible (#80594)
Before the constraint substitution, we employ `getTemplateInstantiationArgs`, which in turn attempts to inspect `TemplateArgument`s from the function template. For parameter packs from their parent contexts, we used to extract the arguments from the specialization type, in which could result in non-canonical argument types e.g. `PackExpansionType`. This may break the contract that, during a tree transformation, in `TreeTransform::TryExpandParameterPacks`, the corresponding `TemplateArgument`s for an `UnexpandedParameterPack` are expected to be of `Pack` kinds if we're expanding template parameters. Fixes https://github.com/llvm/llvm-project/issues/72557.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions