diff options
author | John McCall <rjmccall@apple.com> | 2009-09-29 23:03:30 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-09-29 23:03:30 +0000 |
commit | bf1cc05907ceb2081e8158b26f3d3f48b31caad3 (patch) | |
tree | bca78feafa7d2dfa963070e2c2db681971722dd7 /lib/Analysis/RegionStore.cpp | |
parent | 1070c9f7acc889336be6f80c70dc1b32622cc83d (diff) |
Desugaring optimizations. Add single-step desugaring methods to all
concrete types. Use unqualified desugaring for getAs<> and sundry.
Fix a few users to either not desugar or use qualified desugar, as seemed
appropriate. Removed Type's qualified desugar method, as it was easy
to accidentally use instead of QualType's.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83116 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 f63e9d874e..7a433dd148 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -770,7 +770,7 @@ SVal RegionStoreManager::ArrayToPointer(Loc Array) { return UnknownVal(); // Strip off typedefs from the ArrayRegion's ValueType. - QualType T = ArrayR->getValueType(getContext())->getDesugaredType(); + QualType T = ArrayR->getValueType(getContext()).getDesugaredType(); ArrayType *AT = cast<ArrayType>(T); T = AT->getElementType(); |