From 98be4943e8dc4f3905629a7102668960873cf863 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47954 91177308-0d34-0410-b5e6-96231b3b80d8 --- CodeGen/CodeGenFunction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'CodeGen/CodeGenFunction.cpp') diff --git a/CodeGen/CodeGenFunction.cpp b/CodeGen/CodeGenFunction.cpp index adbb414cc0..f48d093b25 100644 --- a/CodeGen/CodeGenFunction.cpp +++ b/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-70-g09d2