aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-08 20:00:15 +0000
committerChris Lattner <sabre@nondot.org>2009-02-08 20:00:15 +0000
commit516512d66683ef1068369dd8179154f2dfd54bdf (patch)
tree35e8dfb0f026bb4f4224ed1556b94b6987d634f7
parentbecf2ddcce748ca021946a69c5be6357172082cb (diff)
downloadexternal_llvm-516512d66683ef1068369dd8179154f2dfd54bdf.zip
external_llvm-516512d66683ef1068369dd8179154f2dfd54bdf.tar.gz
external_llvm-516512d66683ef1068369dd8179154f2dfd54bdf.tar.bz2
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64091 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index 3201e98..4e5f6dd 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<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;