summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
diff options
context:
space:
mode:
authorZhanyong Wan <wan@google.com>2011-02-16 21:13:32 +0000
committerZhanyong Wan <wan@google.com>2011-02-16 21:13:32 +0000
commit85a203ebdda6977a7e75cf555c2991fe2eb21809 (patch)
tree8b5f1301ecfd0eb88509525fc161684fc4b74054 /clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
parenteaf2e4fdf15c3385c05a85fbf3543dae141e5744 (diff)
downloadbcm5719-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.cpp4
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;
}
-
-
OpenPOWER on IntegriCloud