aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2022-12-01 09:38:13 -0800
committerShafik Yaghmour <shafik.yaghmour@intel.com>2022-12-01 09:40:18 -0800
commitef10f81985f665c553c818e1c5962aebb8f36f0c (patch)
tree19cd911e97fa1aebd11098fcb4876d331554670c /llvm/lib/CodeGen/CodeGen.cpp
parentf4eb87f403367e0c96ad2836027f389b5681914d (diff)
downloadllvm-ef10f81985f665c553c818e1c5962aebb8f36f0c.zip
llvm-ef10f81985f665c553c818e1c5962aebb8f36f0c.tar.gz
llvm-ef10f81985f665c553c818e1c5962aebb8f36f0c.tar.bz2
[Clang] Adjust assert from Sema::BuildCXXTypeConstructExpr
Currently Sema::BuildCXXTypeConstructExpr asserts that list initialization must mean we have an InitListExpr as well. We have several cases of valid code the result in CXXTemporaryObjectExpr in the AST instead for list initialization. Commit 1ae689c seems to indicate that this is not unexpected, although may be a design issue This fixes: https://github.com/llvm/llvm-project/issues/58302 https://github.com/llvm/llvm-project/issues/58753 https://github.com/llvm/llvm-project/issues/59100 Differential Revision: https://reviews.llvm.org/D138947
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions