aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-07-07 08:23:41 +0900
committerGitHub <noreply@github.com>2024-07-07 08:23:41 +0900
commit75bc20ff899753b100cb875ce703af2348a1d6bb (patch)
tree786f193a3701dc9aa60ee647fede7a23cda2974b /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentf767295942288bd70156ad322defac60b568c927 (diff)
downloadllvm-75bc20ff899753b100cb875ce703af2348a1d6bb.zip
llvm-75bc20ff899753b100cb875ce703af2348a1d6bb.tar.gz
llvm-75bc20ff899753b100cb875ce703af2348a1d6bb.tar.bz2
[llvm] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#97914)
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
-rw-r--r--llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp b/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
index 40ee59c..6f8ce17 100644
--- a/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
+++ b/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
@@ -145,7 +145,7 @@ static void doList(opt::InputArgList &Args) {
return;
Error Err = Error::success();
- object::Archive Archive(B.get()->getMemBufferRef(), Err);
+ object::Archive Archive(B->getMemBufferRef(), Err);
fatalOpenError(std::move(Err), B->getBufferIdentifier());
std::vector<StringRef> Names;