diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-17 05:57:07 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-17 05:57:07 +0000 |
commit | 1c96b24285d05c0eac455ae96d7c9ff43d42bc96 (patch) | |
tree | 4d2ab34daff9c66fe996657201955fb24de6cd84 /include/clang/Analysis/PathSensitive/BasicValueFactory.h | |
parent | ef8b28e9459e729b7bd8c826d204621b039611fa (diff) |
This patch did the following renaming. There should be no functional changes.
RVal => SVal
LVal => Loc
NonLVal => NonLoc
lval => loc
nonlval => nonloc
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/BasicValueFactory.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/BasicValueFactory.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/clang/Analysis/PathSensitive/BasicValueFactory.h b/include/clang/Analysis/PathSensitive/BasicValueFactory.h index 29957a7996..0edcde35bc 100644 --- a/include/clang/Analysis/PathSensitive/BasicValueFactory.h +++ b/include/clang/Analysis/PathSensitive/BasicValueFactory.h @@ -27,7 +27,7 @@ namespace llvm { namespace clang { -class RVal; +class SVal; class BasicValueFactory { typedef llvm::FoldingSet<llvm::FoldingSetNodeWrapper<llvm::APSInt> > @@ -42,12 +42,12 @@ class BasicValueFactory { APSIntSetTy APSIntSet; SymIntCSetTy SymIntCSet; - void* PersistentRVals; - void* PersistentRValPairs; + void* PersistentSVals; + void* PersistentSValPairs; public: BasicValueFactory(ASTContext& ctx, llvm::BumpPtrAllocator& Alloc) - : Ctx(ctx), BPAlloc(Alloc), PersistentRVals(0), PersistentRValPairs(0) {} + : Ctx(ctx), BPAlloc(Alloc), PersistentSVals(0), PersistentSValPairs(0) {} ~BasicValueFactory(); @@ -72,13 +72,13 @@ public: const llvm::APSInt& V1, const llvm::APSInt& V2); - const std::pair<RVal, uintptr_t>& - getPersistentRValWithData(const RVal& V, uintptr_t Data); + const std::pair<SVal, uintptr_t>& + getPersistentSValWithData(const SVal& V, uintptr_t Data); - const std::pair<RVal, RVal>& - getPersistentRValPair(const RVal& V1, const RVal& V2); + const std::pair<SVal, SVal>& + getPersistentSValPair(const SVal& V1, const SVal& V2); - const RVal* getPersistentRVal(RVal X); + const SVal* getPersistentSVal(SVal X); }; } // end clang namespace |