We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b56f29b commit 37cdde0Copy full SHA for 37cdde0
clang/lib/StaticAnalyzer/Core/RegionStore.cpp
@@ -2641,7 +2641,7 @@ std::optional<RegionBindingsRef> RegionStoreManager::tryBindSmallStruct(
2641
// Direct [ 0..31]: Derived{Conj{}, w.width}
2642
// Direct [32..63]: Derived{Conj{}, w.height}
2643
// Instead, we should just bind that Conjured value instead.
2644
- if (auto Val = getUniqueDefaultBinding(LCV)) {
+ if (std::optional<SVal> Val = getUniqueDefaultBinding(LCV)) {
2645
return B.addBinding(BindingKey::Make(R, BindingKey::Default), Val.value());
2646
}
2647
0 commit comments