fix wordo
authorChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 18:56:52 +0000 (18:56 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 18:56:52 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61728 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index 2efd221fa3305dc20b8519bfd691a58291dcbddd..80a4fca769baf178108139472da988a3a84cfcfc 100644 (file)
@@ -605,7 +605,7 @@ GlobalValue *LLParser::GetGlobalVal(unsigned ID, const Type *Ty, LocTy Loc) {
   if (const FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType())) {
     // Function types can return opaque but functions can't.
     if (isa<OpaqueType>(FT->getReturnType())) {
-      Error(Loc, "function may not return return opaque type");
+      Error(Loc, "function may not return opaque type");
       return 0;
     }
     FwdVal = Function::Create(FT, GlobalValue::ExternalWeakLinkage, "", M);