Skip to content

Commit f8e2b2a

Browse files
committed
formatting
1 parent f4e071d commit f8e2b2a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

llvm/lib/CGData/StableFunctionMap.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,14 @@ StableFunctionMap::at(HashFuncsMapType::key_type FunctionHash) const {
146146
void StableFunctionMap::deserializeLazyLoadingEntry(
147147
HashFuncsMapType::iterator It) const {
148148
assert(isLazilyLoaded() && "Cannot deserialize non-lazily-loaded map");
149-
auto& [Hash, Storage] = *It;
150-
std::call_once(Storage.LazyLoadFlag, [this, HashArg = Hash, &StorageArg = Storage]() {
151-
for (auto Offset : StorageArg.Offsets)
152-
StableFunctionMapRecord::deserializeEntry(
153-
reinterpret_cast<const unsigned char *>(Offset), HashArg, const_cast<StableFunctionMap *>(this));
154-
});
149+
auto &[Hash, Storage] = *It;
150+
std::call_once(Storage.LazyLoadFlag,
151+
[this, HashArg = Hash, &StorageArg = Storage]() {
152+
for (auto Offset : StorageArg.Offsets)
153+
StableFunctionMapRecord::deserializeEntry(
154+
reinterpret_cast<const unsigned char *>(Offset),
155+
HashArg, const_cast<StableFunctionMap *>(this));
156+
});
155157
}
156158

157159
void StableFunctionMap::deserializeLazyLoadingEntries() const {

0 commit comments

Comments
 (0)