OSDN Git Service

fix typo
authorChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2009 20:00:15 +0000 (20:00 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2009 20:00:15 +0000 (20:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64091 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index 3201e98..4e5f6dd 100644 (file)
@@ -466,7 +466,7 @@ bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc,
   }
 
   if (isa<FunctionType>(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;