summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenFunction.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/CodeGen/CodeGenFunction.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/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/CodeGen/CodeGenFunction.cpp3
1 files changed, 1 insertions, 2 deletions
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<unsigned>(
- getContext().getTypeSize(getContext().getPointerType(getContext().VoidTy),
- SourceLocation()));
+ getContext().getTypeSize(getContext().getPointerType(getContext().VoidTy)));
CurFuncDecl = FD;
CurFn = cast<llvm::Function>(CGM.GetAddrOfFunctionDecl(FD, true));
OpenPOWER on IntegriCloud