diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-27 13:35:03 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-27 13:35:03 +0000 |
commit | e70559fd25bfd1970a82086c5f99cf9ef181b1ae (patch) | |
tree | 9375e0a5f189600d2106c272173c506d2440bb53 /lib/Analysis/RegionStore.cpp | |
parent | 27b57063d83b00474d7563fb5d608544e2364862 (diff) |
Use ASTContext::getCanonicalType() to get TypedRegion's type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index ae0383d06e..6a65919b1e 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -379,7 +379,7 @@ Store RegionStoreManager::InitializeArrayToUndefined(Store store, QualType T, Store RegionStoreManager::InitializeStructToUndefined(Store store, QualType T, MemRegion* BaseR) { - QualType CT = T->getCanonicalTypeInternal(); + QualType CT = StateMgr.getContext().getCanonicalType(T); const RecordType* RT = cast<RecordType>(CT.getTypePtr()); RecordDecl* RD = RT->getDecl(); assert(RD->isDefinition()); |