diff options
| author | premanandrao <premanand.m.rao@intel.com> | 2025-07-25 15:21:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 15:21:30 -0400 |
| commit | 8b7dc4cadb622e2b4a13155bffa5cec8c8fb6b8b (patch) | |
| tree | 1c02bd301072278d72a8e30397d082449982ba04 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 400ce1a3d36fa513a88c9b336c77c46ae829049f (diff) | |
[clang] Fix issue with FoldingSet and DependentTemplateSpecialization… (#150559)
…Type
PR #118288 fixed a re-entrancy issue with the usage of `FoldingSet` and
`AutoType`. The following test case (reduced with `creduce` by
@Fznamznon):
```
template <typename C, typename S1, int rbits>
typename C::A Bar(const S1& x, const C& c = C()) {
using T = typename C::A;
T result;
using PreC = typename C::template boop<T::p + rbits>;
using ExactC = typename C::template bap<PreC::p + 2>;
using D = typename ExactC::A;
return result;
}
```
shows a similar non-deterministic recursion with the use of `FoldingSet`
but with `DependentTemplateSepcializationType`. A nearly identical fix
is needed here too.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
