diff options
author | Zhikai Zeng <backlight.zzk@gmail.com> | 2024-08-21 20:33:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-21 14:33:17 +0200 |
commit | 40eca60c5a273e7b89851c7c0b73b5f1037b29ed (patch) | |
tree | 60d956010babd3d159d987b88299fefb1efe0776 /llvm/unittests/ADT/StringRefTest.cpp | |
parent | 2704b804bec50c2b016bf678bd534c330ec655b6 (diff) | |
download | llvm-40eca60c5a273e7b89851c7c0b73b5f1037b29ed.zip llvm-40eca60c5a273e7b89851c7c0b73b5f1037b29ed.tar.gz llvm-40eca60c5a273e7b89851c7c0b73b5f1037b29ed.tar.bz2 |
[Clang] fix generic lambda inside requires-clause of friend function template (#99813)
fixes https://github.com/llvm/llvm-project/issues/98258
The cause is that the assertion "Nothing should reference a value below
the actual template depth" is incorrect since we can have a generic
lambda inside requires-clause of friend function template, and the
generic lambda can reference to values with greater template depth.
---------
Co-authored-by: cor3ntin <corentinjabot@gmail.com>
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions