summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/RegionStore.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-01-19 06:33:43 +0000
committerJohn McCall <rjmccall@apple.com>2011-01-19 06:33:43 +0000
commit424cec97bdff219cd976dce85a405140069c57f9 (patch)
tree2398a9d0ab79460797b9e343d9e163f6b2b15a13 /clang/lib/StaticAnalyzer/RegionStore.cpp
parent0c49533039cba8214ada637dd313f54c6a5a8364 (diff)
downloadbcm5719-llvm-424cec97bdff219cd976dce85a405140069c57f9.tar.gz
bcm5719-llvm-424cec97bdff219cd976dce85a405140069c57f9.zip
Change QualType::getTypePtr() to return a const pointer, then change a
thousand other things which were (generally inadvertantly) relying on that. llvm-svn: 123814
Diffstat (limited to 'clang/lib/StaticAnalyzer/RegionStore.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/RegionStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/RegionStore.cpp b/clang/lib/StaticAnalyzer/RegionStore.cpp
index 3ec067e74f8..3c048064f6e 100644
--- a/clang/lib/StaticAnalyzer/RegionStore.cpp
+++ b/clang/lib/StaticAnalyzer/RegionStore.cpp
@@ -801,7 +801,7 @@ SVal RegionStoreManager::ArrayToPointer(Loc Array) {
// Strip off typedefs from the ArrayRegion's ValueType.
QualType T = ArrayR->getValueType().getDesugaredType(Ctx);
- ArrayType *AT = cast<ArrayType>(T);
+ const ArrayType *AT = cast<ArrayType>(T);
T = AT->getElementType();
NonLoc ZeroIdx = svalBuilder.makeZeroArrayIndex();
OpenPOWER on IntegriCloud