remove the source location arguments to various target query methods.
llvm-svn: 47954
diff --git a/clang/Analysis/ValueManager.cpp b/clang/Analysis/ValueManager.cpp
index 2a8d23d..a02f3e4 100644
--- a/clang/Analysis/ValueManager.cpp
+++ b/clang/Analysis/ValueManager.cpp
@@ -48,10 +48,9 @@
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);