diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2022-08-11 13:42:47 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2022-08-11 13:44:24 -0400 |
commit | b48fb85fe60b339b31b0381dde481b284e0fb93e (patch) | |
tree | 095e8ce77ae4a65d81ace332c73ddbc25acde999 /lldb/packages/Python/lldbsuite/test/lldbpexpect.py | |
parent | 57f334d81764ff0f46e5f8b29799e369b68a7918 (diff) | |
download | llvm-b48fb85fe60b339b31b0381dde481b284e0fb93e.zip llvm-b48fb85fe60b339b31b0381dde481b284e0fb93e.tar.gz llvm-b48fb85fe60b339b31b0381dde481b284e0fb93e.tar.bz2 |
Fix crash-on-valid with consteval temporary construction through list initialization
Clang currently crashes when lowering a consteval list initialization
of a temporary. This is partially working around an issue in the
template instantiation code (TreeTransform::TransformCXXTemporaryObjectExpr())
that does not yet know how to handle list initialization of temporaries
in all cases. However, it's also helping reduce fragility by ensuring
we always have a valid QualType when trying to emit a constant
expression during IR generation.
Fixes #55871
Differential Revision: https://reviews.llvm.org/D131194
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbpexpect.py')
0 files changed, 0 insertions, 0 deletions