From 37e058783948f450f26dc863a694d28146a06d78 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Mar 2008 18:54:05 +0000 Subject: remove the source location arguments to various target query methods. llvm-svn: 47954 --- clang/CodeGen/CodeGenFunction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/CodeGen/CodeGenFunction.cpp') diff --git a/clang/CodeGen/CodeGenFunction.cpp b/clang/CodeGen/CodeGenFunction.cpp index adbb414cc09..f48d093b25e 100644 --- a/clang/CodeGen/CodeGenFunction.cpp +++ b/clang/CodeGen/CodeGenFunction.cpp @@ -59,8 +59,7 @@ bool CodeGenFunction::hasAggregateLLVMType(QualType T) { void CodeGenFunction::GenerateCode(const FunctionDecl *FD) { LLVMIntTy = ConvertType(getContext().IntTy); LLVMPointerWidth = static_cast( - getContext().getTypeSize(getContext().getPointerType(getContext().VoidTy), - SourceLocation())); + getContext().getTypeSize(getContext().getPointerType(getContext().VoidTy))); CurFuncDecl = FD; CurFn = cast(CGM.GetAddrOfFunctionDecl(FD, true)); -- cgit v1.2.3