diff options
author | Jacques Pienaar <jpienaar@google.com> | 2022-03-28 20:04:31 -0700 |
---|---|---|
committer | Jacques Pienaar <jpienaar@google.com> | 2022-03-28 20:04:31 -0700 |
commit | 0217d1178b9f0ed21103a0f4c9d8c77fe60f0d38 (patch) | |
tree | 63428550f199adacaeabfc00036cf06a34f631c1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 2b3becb41d2b3f2931f78643af23ce9a3842ab52 (diff) | |
download | llvm-0217d1178b9f0ed21103a0f4c9d8c77fe60f0d38.zip llvm-0217d1178b9f0ed21103a0f4c9d8c77fe60f0d38.tar.gz llvm-0217d1178b9f0ed21103a0f4c9d8c77fe60f0d38.tar.bz2 |
[mlir] Fix leak in case of failed parse
A Block is optionally allocated & leaks in case of failed parse. Inline the
function and ensure Block gets freed unless parse is successful.
Differential Revision: https://reviews.llvm.org/D122112
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions