summaryrefslogtreecommitdiffstats
path: root/clang/Analysis/ValueManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Analysis/ValueManager.cpp')
-rw-r--r--clang/Analysis/ValueManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/Analysis/ValueManager.cpp b/clang/Analysis/ValueManager.cpp
index 2a8d23d02ca..a02f3e45efd 100644
--- a/clang/Analysis/ValueManager.cpp
+++ b/clang/Analysis/ValueManager.cpp
@@ -48,10 +48,9 @@ const llvm::APSInt& ValueManager::getValue(uint64_t X, unsigned BitWidth,
return getValue(V);
}
-const llvm::APSInt& ValueManager::getValue(uint64_t X, QualType T,
- SourceLocation Loc) {
+const llvm::APSInt& ValueManager::getValue(uint64_t X, QualType T) {
- unsigned bits = Ctx.getTypeSize(T, Loc);
+ unsigned bits = Ctx.getTypeSize(T);
llvm::APSInt V(bits, T->isUnsignedIntegerType());
V = X;
return getValue(V);
OpenPOWER on IntegriCloud