diff options
author | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-06-30 04:21:43 -0400 |
---|---|---|
committer | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-06-30 04:50:08 -0400 |
commit | 550fa4eabd83d133595c7a5a07d54fc029b73733 (patch) | |
tree | 2e6f5ea9acefcb40e855c7b4bdc439856595c2b2 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 3a9ea6a48a7092b89515f4c3e2b2b6d5851b2b61 (diff) | |
download | llvm-550fa4eabd83d133595c7a5a07d54fc029b73733.zip llvm-550fa4eabd83d133595c7a5a07d54fc029b73733.tar.gz llvm-550fa4eabd83d133595c7a5a07d54fc029b73733.tar.bz2 |
[clang] Do not discard cleanups while processing immediate invocation
Since an immediate invocation is a full expression itself - it requires
an additional ExprWithCleanups node, but it can participate to a bigger
full expression which actually requires cleanups to be run after.
Thanks @ilya-biryukov for helping reducing the reproducer and confirming
that the analysis is correct.
Fixes https://github.com/llvm/llvm-project/issues/60709
Reviewed By: ilya-biryukov
Differential Revision: https://reviews.llvm.org/D153962
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions