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/BasicStore.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/BasicStore.cpp')
-rw-r--r-- | clang/lib/Analysis/BasicStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/BasicStore.cpp b/clang/lib/Analysis/BasicStore.cpp index 888af9bd57a..7a36a3ee08c 100644 --- a/clang/lib/Analysis/BasicStore.cpp +++ b/clang/lib/Analysis/BasicStore.cpp @@ -624,7 +624,7 @@ const GRState *BasicStoreManager::InvalidateRegion(const GRState *state, const Expr *E, unsigned Count, InvalidatedSymbols *IS) { - R = R->getBaseRegion(); + R = R->StripCasts(); if (!(isa<VarRegion>(R) || isa<ObjCIvarRegion>(R))) return state; |