aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/UndefCapturedBlockVarChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Checker/UndefCapturedBlockVarChecker.cpp')
-rw-r--r--lib/Checker/UndefCapturedBlockVarChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/UndefCapturedBlockVarChecker.cpp b/lib/Checker/UndefCapturedBlockVarChecker.cpp
index b1010c9c48..6bea492ddf 100644
--- a/lib/Checker/UndefCapturedBlockVarChecker.cpp
+++ b/lib/Checker/UndefCapturedBlockVarChecker.cpp
@@ -76,7 +76,7 @@ UndefCapturedBlockVarChecker::PostVisitBlockExpr(CheckerContext &C,
// Get the VarRegion associated with VD in the local stack frame.
const LocationContext *LC = C.getPredecessor()->getLocationContext();
- VR = C.getValueManager().getRegionManager().getVarRegion(VD, LC);
+ VR = C.getSValBuilder().getRegionManager().getVarRegion(VD, LC);
if (state->getSVal(VR).isUndef())
if (ExplodedNode *N = C.GenerateSink()) {