summaryrefslogtreecommitdiff
path: root/llvm/lib/CGData/CodeGenData.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-10-23 10:44:09 -0700
committerGitHub <noreply@github.com>2024-10-23 10:44:09 -0700
commit141574bacb2c10b795490d0fa5ea31acbc5d8c6e (patch)
treeda09108ab83db0595f53f6bd7d9a171bfbf186ce /llvm/lib/CGData/CodeGenData.cpp
parentf1be516223f1c5ae5554f1b842d90cf429611617 (diff)
[llvm] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#113415)
Diffstat (limited to 'llvm/lib/CGData/CodeGenData.cpp')
-rw-r--r--llvm/lib/CGData/CodeGenData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CGData/CodeGenData.cpp b/llvm/lib/CGData/CodeGenData.cpp
index c56a8b77a523..2a3a74c8bc37 100644
--- a/llvm/lib/CGData/CodeGenData.cpp
+++ b/llvm/lib/CGData/CodeGenData.cpp
@@ -165,7 +165,7 @@ CodeGenData &CodeGenData::getInstance() {
Instance->publishOutlinedHashTree(Reader->releaseOutlinedHashTree());
}
});
- return *(Instance.get());
+ return *Instance;
}
namespace IndexedCGData {