diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-05 18:56:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-05 18:56:52 +0000 |
commit | 0d8484f2edb1069522f5c3de6467433e0fbe9323 (patch) | |
tree | 20fc76ce87860993f0843f96e8fadf015293a358 /lib/AsmParser/LLParser.cpp | |
parent | b0adcdb7e53dcd636a7eafba44d941ac23006473 (diff) |
fix wordo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 2efd221fa3..80a4fca769 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -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); |