From: Zhongxing Xu Date: Wed, 24 Jun 2009 01:12:41 +0000 (+0000) Subject: use a concrete type instead of a trait type to make code more readable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8ab9ea9aea457f275a9a6253bfcd572ad9010a1;p=clang use a concrete type instead of a trait type to make code more readable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74047 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index ab60ff32ad..c9c923a5e3 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -892,8 +892,7 @@ SVal RegionStoreManager::Retrieve(const GRState *state, Loc L, QualType T) { // If the region is an element or field, it may have a default value. if (isa(R) || isa(R)) { const MemRegion* SuperR = cast(R)->getSuperRegion(); - GRStateTrait::lookup_type D = - state->get(SuperR); + const SVal* D = state->get(SuperR); if (D) { // If the default value is symbolic, we need to create a new symbol. if (D->hasConjuredSymbol())