[llvm] 5062d78 - Apply clang-tidy fixes for readability-redundant-smartptr-get in TapiUniversal.cpp (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 09:19:27 PDT 2022
Author: Kazu Hirata
Date: 2022-03-28T09:18:36-07:00
New Revision: 5062d78f67d4738e2cf2b8c83ebbad949b009b94
URL: https://github.com/llvm/llvm-project/commit/5062d78f67d4738e2cf2b8c83ebbad949b009b94
DIFF: https://github.com/llvm/llvm-project/commit/5062d78f67d4738e2cf2b8c83ebbad949b009b94.diff
LOG: Apply clang-tidy fixes for readability-redundant-smartptr-get in TapiUniversal.cpp (NFC)
Added:
Modified:
llvm/lib/Object/TapiUniversal.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Object/TapiUniversal.cpp b/llvm/lib/Object/TapiUniversal.cpp
index 34d9477041888..bf96b57f03210 100644
--- a/llvm/lib/Object/TapiUniversal.cpp
+++ b/llvm/lib/Object/TapiUniversal.cpp
@@ -48,7 +48,7 @@ TapiUniversal::~TapiUniversal() = default;
Expected<std::unique_ptr<TapiFile>>
TapiUniversal::ObjectForArch::getAsObjectFile() const {
return std::unique_ptr<TapiFile>(new TapiFile(Parent->getMemoryBufferRef(),
- *Parent->ParsedFile.get(),
+ *Parent->ParsedFile,
Parent->Libraries[Index].Arch));
}
More information about the llvm-commits
mailing list