diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 3201e9887ce..4e5f6dde86d 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -466,7 +466,7 @@ bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc, } if (isa(Ty) || Ty == Type::LabelTy || Ty == Type::VoidTy) - return Error(TyLoc, "invald type for global variable"); + return Error(TyLoc, "invalid type for global variable"); GlobalVariable *GV = 0;