mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:46:27 +08:00
Use utility method.
llvm-svn: 61304
This commit is contained in:
@@ -282,7 +282,7 @@ SVal BasicStoreManager::Retrieve(const GRState* state, Loc LV, QualType T) {
|
||||
return UnknownVal();
|
||||
|
||||
Store store = state->getStore();
|
||||
VarBindingsTy B(static_cast<const VarBindingsTy::TreeTy*>(store));
|
||||
VarBindingsTy B = GetVarBindings(store);
|
||||
VarBindingsTy::data_type* T = B.lookup(R->getDecl());
|
||||
return T ? *T : UnknownVal();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user