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 e440d23 commit 214f68eCopy full SHA for 214f68e
clang/lib/StaticAnalyzer/Core/Store.cpp
@@ -51,11 +51,8 @@ StoreRef StoreManager::enterStackFrame(Store OldStore,
51
SmallVector<CallEvent::FrameBindingTy, 16> InitialBindings;
52
Call.getInitialStackFrameContents(LCtx, InitialBindings);
53
54
- for (const auto &I : InitialBindings) {
55
- Loc L = I.first.castAs<Loc>();
56
- SVal V = I.second;
57
- Store = Bind(Store.getStore(), L, V);
58
- }
+ for (const auto &I : InitialBindings)
+ Store = Bind(Store.getStore(), I.first.castAs<Loc>(), I.second);
59
60
return Store;
61
}
0 commit comments