[llvm-commits] [llvm] r61728 - /llvm/trunk/lib/AsmParser/LLParser.cpp
Chris Lattner
sabre at nondot.org
Mon Jan 5 10:56:52 PST 2009
Author: lattner
Date: Mon Jan 5 12:56:52 2009
New Revision: 61728
URL: http://llvm.org/viewvc/llvm-project?rev=61728&view=rev
Log:
fix wordo
Modified:
llvm/trunk/lib/AsmParser/LLParser.cpp
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=61728&r1=61727&r2=61728&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Mon Jan 5 12:56:52 2009
@@ -605,7 +605,7 @@
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);
More information about the llvm-commits
mailing list