diff options
| author | Zhanyong Wan <wan@google.com> | 2011-02-16 21:13:32 +0000 |
|---|---|---|
| committer | Zhanyong Wan <wan@google.com> | 2011-02-16 21:13:32 +0000 |
| commit | 85a203ebdda6977a7e75cf555c2991fe2eb21809 (patch) | |
| tree | 8b5f1301ecfd0eb88509525fc161684fc4b74054 /clang/lib/StaticAnalyzer/Core/BasicStore.cpp | |
| parent | eaf2e4fdf15c3385c05a85fbf3543dae141e5744 (diff) | |
| download | bcm5719-llvm-85a203ebdda6977a7e75cf555c2991fe2eb21809.tar.gz bcm5719-llvm-85a203ebdda6977a7e75cf555c2991fe2eb21809.zip | |
Makes most methods in SVals.h conform to the naming guide. Reviewed
by kremenek.
llvm-svn: 125687
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BasicStore.cpp')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/BasicStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BasicStore.cpp b/clang/lib/StaticAnalyzer/Core/BasicStore.cpp index 105b5052422..987e790585f 100644 --- a/clang/lib/StaticAnalyzer/Core/BasicStore.cpp +++ b/clang/lib/StaticAnalyzer/Core/BasicStore.cpp @@ -252,7 +252,7 @@ Store BasicStoreManager::Bind(Store store, Loc loc, SVal V) { // a pointer. We may wish to flag a type error here if the types // are incompatible. This may also cause lots of breakage // elsewhere. Food for thought. - if (TyR->isBoundable() && Loc::IsLocType(TyR->getValueType())) + if (TyR->isBoundable() && Loc::isLocType(TyR->getValueType())) V = X->getLoc(); } @@ -464,7 +464,7 @@ Store BasicStoreManager::BindDeclInternal(Store store, const VarRegion* VR, // unsigned) zero; if (!InitVal) { QualType T = VD->getType(); - if (Loc::IsLocType(T)) + if (Loc::isLocType(T)) store = Bind(store, loc::MemRegionVal(VR), loc::ConcreteInt(BasicVals.getValue(0, T))); else if (T->isIntegerType() && T->isScalarType()) |

