[llvm] f23c0e6 - [CAS] Fix #161548 for broken build (#162116)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 09:42:16 PDT 2025


Author: Steven Wu
Date: 2025-10-06T09:42:12-07:00
New Revision: f23c0e6f558880e6bb9314d88409d4cc83b94ca9

URL: https://github.com/llvm/llvm-project/commit/f23c0e6f558880e6bb9314d88409d4cc83b94ca9
DIFF: https://github.com/llvm/llvm-project/commit/f23c0e6f558880e6bb9314d88409d4cc83b94ca9.diff

LOG: [CAS] Fix #161548 for broken build (#162116)

Followup to fix the broken configuraiton.

Added: 
    

Modified: 
    llvm/lib/CAS/OnDiskTrieRawHashMap.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CAS/OnDiskTrieRawHashMap.cpp b/llvm/lib/CAS/OnDiskTrieRawHashMap.cpp
index d062f20855f44..323b21e7cb691 100644
--- a/llvm/lib/CAS/OnDiskTrieRawHashMap.cpp
+++ b/llvm/lib/CAS/OnDiskTrieRawHashMap.cpp
@@ -1136,7 +1136,7 @@ OnDiskTrieRawHashMap::create(const Twine &PathTwine, const Twine &TrieNameTwine,
                            "OnDiskTrieRawHashMap is not supported");
 }
 
-Expected<OnDiskTrieRawHashMap::pointer>
+Expected<OnDiskTrieRawHashMap::OnDiskPtr>
 OnDiskTrieRawHashMap::insertLazy(ArrayRef<uint8_t> Hash,
                                  LazyInsertOnConstructCB OnConstruct,
                                  LazyInsertOnLeakCB OnLeak) {
@@ -1144,15 +1144,15 @@ OnDiskTrieRawHashMap::insertLazy(ArrayRef<uint8_t> Hash,
                            "OnDiskTrieRawHashMap is not supported");
 }
 
-Expected<OnDiskTrieRawHashMap::const_pointer>
+Expected<OnDiskTrieRawHashMap::ConstOnDiskPtr>
 OnDiskTrieRawHashMap::recoverFromFileOffset(FileOffset Offset) const {
   return createStringError(make_error_code(std::errc::not_supported),
                            "OnDiskTrieRawHashMap is not supported");
 }
 
-OnDiskTrieRawHashMap::const_pointer
+OnDiskTrieRawHashMap::ConstOnDiskPtr
 OnDiskTrieRawHashMap::find(ArrayRef<uint8_t> Hash) const {
-  return const_pointer();
+  return ConstOnDiskPtr();
 }
 
 void OnDiskTrieRawHashMap::print(


        


More information about the llvm-commits mailing list