Skip to content

Commit 37cdde0

Browse files
committed
NFC Spell out the return type of getUniqueDefaultBinding
1 parent b56f29b commit 37cdde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Core/RegionStore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2641,7 +2641,7 @@ std::optional<RegionBindingsRef> RegionStoreManager::tryBindSmallStruct(
26412641
// Direct [ 0..31]: Derived{Conj{}, w.width}
26422642
// Direct [32..63]: Derived{Conj{}, w.height}
26432643
// Instead, we should just bind that Conjured value instead.
2644-
if (auto Val = getUniqueDefaultBinding(LCV)) {
2644+
if (std::optional<SVal> Val = getUniqueDefaultBinding(LCV)) {
26452645
return B.addBinding(BindingKey::Make(R, BindingKey::Default), Val.value());
26462646
}
26472647

0 commit comments

Comments
 (0)