diff options
author | cor3ntin <corentinjabot@gmail.com> | 2025-03-12 09:49:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 09:49:24 +0100 |
commit | c9563a422cea44f0b00fdcd5085666442f8f24f8 (patch) | |
tree | d17b0a675d9e31bd6fc621f7ff5ffcf15db3b87c /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 369c0a7483a4ffe9af9027f73e5f04dd1d75d312 (diff) | |
download | llvm-c9563a422cea44f0b00fdcd5085666442f8f24f8.zip llvm-c9563a422cea44f0b00fdcd5085666442f8f24f8.tar.gz llvm-c9563a422cea44f0b00fdcd5085666442f8f24f8.tar.bz2 |
[Clang][NFC] Remove CallExpr::CreateTemporary (#130919)
`CallExpr::CreateTemporary` was only used to deduce a conversion
sequence from a conversion operator.
We only need a type/value category for that,
so we can use a dummy Expression such as a
`OpaqueValueExpr`.
This simplify the code and avoid partially-formed
`CallExpr` with incorrect invariants (see #130725)
Fixes #130824
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions