Skip to content

Commit

Permalink
Apply clang-tidy fixes for readability-redundant-smartptr-get in Tapi…
Browse files Browse the repository at this point in the history
…Universal.cpp (NFC)
  • Loading branch information
kazutakahirata committed Mar 28, 2022
1 parent 7405bb8 commit 5062d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Object/TapiUniversal.cpp
Expand Up @@ -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));
}

Expand Down

0 comments on commit 5062d78

Please sign in to comment.