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/BasicValueFactory.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/BasicValueFactory.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp b/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp index 7eb2fe4dc55..6315d83d894 100644 --- a/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp +++ b/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp @@ -99,7 +99,7 @@ const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth, const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, QualType T) { unsigned bits = Ctx.getTypeSize(T); - llvm::APSInt V(bits, T->isUnsignedIntegerType() || Loc::IsLocType(T)); + llvm::APSInt V(bits, T->isUnsignedIntegerType() || Loc::isLocType(T)); V = X; return getValue(V); } @@ -286,5 +286,3 @@ BasicValueFactory::getPersistentSValPair(const SVal& V1, const SVal& V2) { const SVal* BasicValueFactory::getPersistentSVal(SVal X) { return &getPersistentSValWithData(X, 0).first; } - - |