diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-10 02:17:20 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-10 02:17:20 +0000 |
commit | f8f3f9ddbc5a0b96a4cca7b5cea57c0ac5105369 (patch) | |
tree | b9bed1a2e4591a45fd76e4c8902f66826f7ab972 /clang/lib/Analysis/Store.cpp | |
parent | ab799110c6162e0ac5cde7f43efcb36e54bfca45 (diff) | |
download | bcm5719-llvm-f8f3f9ddbc5a0b96a4cca7b5cea57c0ac5105369.tar.gz bcm5719-llvm-f8f3f9ddbc5a0b96a4cca7b5cea57c0ac5105369.zip |
Rename: StripCasts describes what it does better.
getBaseRegion will be used in another method.
llvm-svn: 86649
Diffstat (limited to 'clang/lib/Analysis/Store.cpp')
-rw-r--r-- | clang/lib/Analysis/Store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/Store.cpp b/clang/lib/Analysis/Store.cpp index 4b4ae658082..16af1be91ec 100644 --- a/clang/lib/Analysis/Store.cpp +++ b/clang/lib/Analysis/Store.cpp @@ -43,7 +43,7 @@ const MemRegion *StoreManager::CastRegion(const MemRegion *R, QualType CastToTy) // Handle casts to Objective-C objects. if (CastToTy->isObjCObjectPointerType()) - return R->getBaseRegion(); + return R->StripCasts(); if (CastToTy->isBlockPointerType()) { // FIXME: We may need different solutions, depending on the symbol |