diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-04-29 16:57:40 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-04-29 16:57:40 +0000 |
commit | 6a8a0a611413cfe4d135650cf1fe71fece8788aa (patch) | |
tree | 0d02837e2c9c494df87220a04ccb5c6b4c464570 /llvm/lib/BinaryFormat/Wasm.cpp | |
parent | 864cf8e2745808ed409e52b783bf0bffcc8dde7b (diff) | |
download | bcm5719-llvm-6a8a0a611413cfe4d135650cf1fe71fece8788aa.tar.gz bcm5719-llvm-6a8a0a611413cfe4d135650cf1fe71fece8788aa.zip |
[LibTooling] Fix unneeded use of unique_ptr where shared_ptr is expected.
Summary: This fixes a few places in the Stencil implementation where a unique_ptr is created at a callsite that expects shared_ptr. Since the former implicitly converts to the latter, the code compiles and runs correctly as is. But, there's no reason to involve unique_ptr -- the current code was leftover from a previous version in which unique_ptr was the expected type.
Reviewers: sbenza
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61005
llvm-svn: 359468
Diffstat (limited to 'llvm/lib/BinaryFormat/Wasm.cpp')
0 files changed, 0 insertions, 0 deletions