From 5c5e78482ef0a21dc4f6483073fe676e72c3230c Mon Sep 17 00:00:00 2001 From: Nick Hildenbrandt Date: Fri, 1 Nov 2002 17:37:09 +0000 Subject: [PATCH] Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll llvm-svn: 4486 --- llvm/lib/CWriter/Writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp index 1922e6fd2654..bd2e37647ef8 100644 --- a/llvm/lib/CWriter/Writer.cpp +++ b/llvm/lib/CWriter/Writer.cpp @@ -208,7 +208,7 @@ ostream &CWriter::printType(const Type *Ty, const string &NameSoFar, case Type::FunctionTyID: { const FunctionType *MTy = cast(Ty); printType(MTy->getReturnType(), ""); - Out << " " << NameSoFar << " ("; + Out << " (" << NameSoFar << ") ("; for (FunctionType::ParamTypes::const_iterator I = MTy->getParamTypes().begin(),