llvm.org GIT mirror llvm / 090da8f
Fix typos in tablegen error messages git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209968 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
844844 ListRecTy *LType = dyn_cast(LHSt->getType());
845845 StringRecTy *SType = dyn_cast(LHSt->getType());
846846 if (!LType && !SType) {
847 TokError("expected list or string type argumnet in unary operator");
847 TokError("expected list or string type argument in unary operator");
848848 return nullptr;
849849 }
850850 }
852852 if (Code == UnOpInit::HEAD
853853 || Code == UnOpInit::TAIL) {
854854 if (!LHSl && !LHSt) {
855 TokError("expected list type argumnet in unary operator");
855 TokError("expected list type argument in unary operator");
856856 return nullptr;
857857 }
858858
876876 assert(LHSt && "expected list type argument in unary operator");
877877 ListRecTy *LType = dyn_cast(LHSt->getType());
878878 if (!LType) {
879 TokError("expected list type argumnet in unary operator");
879 TokError("expected list type argument in unary operator");
880880 return nullptr;
881881 }
882882 if (Code == UnOpInit::HEAD) {