diff options
author | offsetof <offsetof@mailo.com> | 2025-04-01 10:44:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 12:44:10 +0200 |
commit | b0a79065178db615b9aaff50337185ad8ee78054 (patch) | |
tree | bb619c750aa4aa344a36dce264075188fbc9f0b0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 518102f2592e8b1d4f74510b97cb2d0e2bb1d66a (diff) | |
download | llvm-b0a79065178db615b9aaff50337185ad8ee78054.zip llvm-b0a79065178db615b9aaff50337185ad8ee78054.tar.gz llvm-b0a79065178db615b9aaff50337185ad8ee78054.tar.bz2 |
[clang] Fix crash on invalid `std::initializer_list<T>` template-id (#132284)
In `Sema::BuildStdInitializerList`, check that the synthesized
template-id `std::initializer_list<T>` is valid (which might not be the
case if the template has associated constraints or subsequent parameters
with default arguments) before forming the type.
Fixes #132256
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions