diff options
| author | Stoorx <me@stoorx.one> | 2023-04-18 09:54:40 +0000 |
|---|---|---|
| committer | David Spickett <david.spickett@linaro.org> | 2023-04-18 10:07:26 +0000 |
| commit | 830b359d3ab1f96875582bf687f4542df0d3527a (patch) | |
| tree | 268e073385687de8a504db600145349997fac68d /llvm/lib/Support/DAGDeltaAlgorithm.cpp | |
| parent | be717f0a49d9591fec6574cb9b186be904a2d604 (diff) | |
| download | llvm-830b359d3ab1f96875582bf687f4542df0d3527a.zip llvm-830b359d3ab1f96875582bf687f4542df0d3527a.tar.gz llvm-830b359d3ab1f96875582bf687f4542df0d3527a.tar.bz2 | |
[clang] Return std::unique_ptr<TargetInfo> from AllocateTarget
In file 'clang/lib/Basic/Targets.cpp' the function 'AllocateTarget' had a raw pointer as a return type, which have been wrapped in the 'std::unique_ptr' in all usages.
This commit changes the signature of the function to return an instance of 'std::unique_ptr' directly.
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D148574
Diffstat (limited to 'llvm/lib/Support/DAGDeltaAlgorithm.cpp')
0 files changed, 0 insertions, 0 deletions
