[llvm] r209968 - Fix typos in tablegen error messages
Matt Arsenault
Matthew.Arsenault at amd.com
Fri May 30 22:18:52 PDT 2014
Author: arsenm
Date: Sat May 31 00:18:52 2014
New Revision: 209968
URL: http://llvm.org/viewvc/llvm-project?rev=209968&view=rev
Log:
Fix typos in tablegen error messages
Modified:
llvm/trunk/lib/TableGen/TGParser.cpp
Modified: llvm/trunk/lib/TableGen/TGParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TGParser.cpp?rev=209968&r1=209967&r2=209968&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/TGParser.cpp (original)
+++ llvm/trunk/lib/TableGen/TGParser.cpp Sat May 31 00:18:52 2014
@@ -845,7 +845,7 @@ Init *TGParser::ParseOperation(Record *C
ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType());
StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType());
if (!LType && !SType) {
- TokError("expected list or string type argumnet in unary operator");
+ TokError("expected list or string type argument in unary operator");
return nullptr;
}
}
@@ -853,7 +853,7 @@ Init *TGParser::ParseOperation(Record *C
if (Code == UnOpInit::HEAD
|| Code == UnOpInit::TAIL) {
if (!LHSl && !LHSt) {
- TokError("expected list type argumnet in unary operator");
+ TokError("expected list type argument in unary operator");
return nullptr;
}
@@ -877,7 +877,7 @@ Init *TGParser::ParseOperation(Record *C
assert(LHSt && "expected list type argument in unary operator");
ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType());
if (!LType) {
- TokError("expected list type argumnet in unary operator");
+ TokError("expected list type argument in unary operator");
return nullptr;
}
if (Code == UnOpInit::HEAD) {
More information about the llvm-commits
mailing list