summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-05 18:54:05 +0000
committerChris Lattner <sabre@nondot.org>2008-03-05 18:54:05 +0000
commit37e058783948f450f26dc863a694d28146a06d78 (patch)
treec8ac9f121af67cc67e4e079c0ea8eee6aec25224 /clang/Driver/RewriteTest.cpp
parentae3429f5f1287cc953f5f4cafcc99b684e9f1e96 (diff)
downloadbcm5719-llvm-37e058783948f450f26dc863a694d28146a06d78.tar.gz
bcm5719-llvm-37e058783948f450f26dc863a694d28146a06d78.zip
remove the source location arguments to various target query methods.
llvm-svn: 47954
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
-rw-r--r--clang/Driver/RewriteTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp
index beabe92659e..097aa1b3a59 100644
--- a/clang/Driver/RewriteTest.cpp
+++ b/clang/Driver/RewriteTest.cpp
@@ -2037,9 +2037,8 @@ Stmt *RewriteTest::SynthMessageExpr(ObjCMessageExpr *Exp) {
// FIXME: Value of 8 is base on ppc32/x86 ABI for the most common cases.
// For X86 it is more complicated and some kind of target specific routine
// is needed to decide what to do.
- unsigned IntSize = static_cast<unsigned>(
- Context->getTypeSize(Context->IntTy, SourceLocation()));
-
+ unsigned IntSize =
+ static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
IntegerLiteral *limit = new IntegerLiteral(llvm::APInt(IntSize, 8),
Context->IntTy,
SourceLocation());
OpenPOWER on IntegriCloud