diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-07-11 20:05:37 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-07-11 20:05:37 +0000 |
commit | 44b0b7cf6605c41728f445c363415b9b6f48db04 (patch) | |
tree | 17c399fb66d0bbbefda93103705613e2fc242421 /clang/lib/Tooling/Syntax/BuildTree.cpp | |
parent | 3b04af4d84fbffa6a2e90cfd187ed01092b45684 (diff) | |
download | llvm-44b0b7cf6605c41728f445c363415b9b6f48db04.zip llvm-44b0b7cf6605c41728f445c363415b9b6f48db04.tar.gz llvm-44b0b7cf6605c41728f445c363415b9b6f48db04.tar.bz2 |
Fix one memory leak in the MLIRParser by using std::unique_ptr to hold the new block pointer
This is NFC when there is no parsing error.
Differential Revision: https://reviews.llvm.org/D83619
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions