aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-11-10 02:17:20 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-11-10 02:17:20 +0000
commit479529e679957fbb92b56e116e3c86734429331e (patch)
tree592785451a7c6e5e8b968f6335454770039bf933 /include/clang
parent82d75b01f23b407e56836e305107c8008037ba35 (diff)
Rename: StripCasts describes what it does better.
getBaseRegion will be used in another method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Analysis/PathSensitive/MemRegion.h2
-rw-r--r--include/clang/Analysis/PathSensitive/SVals.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/PathSensitive/MemRegion.h b/include/clang/Analysis/PathSensitive/MemRegion.h
index 0e487691a8..91db598249 100644
--- a/include/clang/Analysis/PathSensitive/MemRegion.h
+++ b/include/clang/Analysis/PathSensitive/MemRegion.h
@@ -75,7 +75,7 @@ public:
const MemSpaceRegion *getMemorySpace() const;
- const MemRegion *getBaseRegion() const;
+ const MemRegion *StripCasts() const;
bool hasStackStorage() const;
diff --git a/include/clang/Analysis/PathSensitive/SVals.h b/include/clang/Analysis/PathSensitive/SVals.h
index cd737c9727..8b5cf40e29 100644
--- a/include/clang/Analysis/PathSensitive/SVals.h
+++ b/include/clang/Analysis/PathSensitive/SVals.h
@@ -436,7 +436,7 @@ public:
return static_cast<MemRegion*>(Data);
}
- const MemRegion* getBaseRegion() const;
+ const MemRegion* StripCasts() const;
template <typename REGION>
const REGION* getRegionAs() const {