Lines Matching defs:Error

217       return Error(Loc, "New definition of '" + RV.getName() + "' of type '" +
238 return Error(Loc, "Value '" + ValName->getAsUnquotedString() +
246 return Error(Loc, "Recursion / self-assignment forbidden");
255 return Error(Loc, "Value '" + ValName->getAsUnquotedString() +
261 return Error(Loc, "Initializer is not compatible with bit range");
269 return Error(Loc, "Cannot set bit #" + Twine(Bit) + " of value '" +
288 return Error(Loc, "Field '" + ValName->getAsUnquotedString() +
334 return Error(SubClass.RefRange.Start,
340 return Error(SubClass.RefRange.Start,
470 bool Error = false;
474 Error = resolve(Loop.Entries, Substs, Final, Dest);
477 if (Error)
480 return Error;
491 bool Error = false;
494 Error = resolve(*E.Loop, Substs, Final, Dest);
534 Error = addDefOne(std::move(Rec));
536 if (Error)
539 return Error;
608 return Error(Loc, "We can only specify the template argument '" +
620 Error(Loc, "value not specified for template argument '" + Name + "'");
775 Result.Rec = nullptr; // Error parsing value list.
781 Result.Rec = nullptr; // Error checking value list.
812 Result.MC = nullptr; // Error parsing value list.
849 Error(RHSLoc,
874 Error(LHSLoc,
916 Error(LHSLoc,
926 Error(LHSLoc,
1055 return Error(StartLoc, "to match this '<'");
1074 return Error(StartLoc, "to match this '{'");
1171 Error(NameLoc.Start, "Variable not defined: '" + Name->getValue() + "'");
1393 Error(ExprLoc, "expected string type argument in !exists operator");
1399 Error(ExprLoc,
1407 Error(ExprLoc, "expected string type argument in !exists operator");
1549 Error(OpLoc, Twine("expected value of type '") +
1571 Error(OpLoc, Twine("expected value to be a typed value, got '" +
1584 Error(InitLoc, Twine("expected a list, got value of type '") +
1592 Error(OpLoc,
1598 Error(OpLoc, Twine("expected first arg type to be '") +
1609 Error(InitLoc, Twine("expected second parameter to be an int, got "
1618 Error(InitLoc, Twine("expected a list, got value of type '") +
1628 Error(InitLoc, Twine("expected bit, bits, int, string, or record; "
1642 Error(InitLoc, Twine("expected bit, bits, int, or string; "
1654 Error(InitLoc, Twine("expected list of string, int, bits, or bit; "
1662 Error(InitLoc, Twine("expected second argument to be a string, "
1679 Error(InitLoc, Twine("expected value of type '") +
1749 Error(OpLoc, "expected two operands to operator");
1782 Error(OpLoc, Twine("expected value to be a typed value, got '" +
1795 Error(InitLoc, Twine("expected value of type 'int', got '" +
1798 Error(InitLoc, Twine("expected list or int, got value of type '") +
1805 Error(InitLoc, Twine("expected one list, got extra value of type '") +
1929 Error(MHSLoc, "could not determine type of the child list in !dag");
1933 Error(MHSLoc, Twine("expected list of children, got type '") +
1940 Error(RHSLoc, "could not determine type of the name list in !dag");
1944 Error(RHSLoc, Twine("expected list<string>, got type '") +
1950 Error(MHSLoc,
2005 Error(MHSLoc, Twine("expected integer index or string name, got ") +
2016 Error(MHSLoc, Twine("expected integer index or string name, got ") +
2025 Error(RHSLoc, Twine("expected string or unset name, got type '") +
2248 Error(RHSLoc, Twine("expected value of type '") +
2270 Error(MHSLoc, Twine("expected int, got type '") +
2336 Error(RHSLoc, Twine("expected value of type '") +
2358 Error(MHSLoc, Twine("expected string, got type '") +
2439 Error(OpLoc,
2453 Error(OpLoc,
2680 Error(NameLoc.Start,
2688 return nullptr; // Error parsing value list.
2691 return nullptr; // Error checking template argument values.
2741 Error(BraceLoc, "Element #" + Twine(i) + " (" + Vals[i]->getAsString() +
2912 Error(CurlyLoc, "Invalid bit range for value");
2926 Error(LHSLoc, "Invalid value, list expected");
2932 Error(LHSLoc, "Type '" + Twine(LHS->getType()->getAsString()) +
2995 Error(PasteLoc, "LHS of paste is not typed!");
3028 Error(PasteLoc,
3056 Error(PasteLoc, "RHS of paste is not typed!");
3065 Error(PasteLoc,
3188 return Error(ValueLoc,
3195 return Error(ValueLoc,
3203 return Error(ValueLoc,
3213 return Error(ValueLoc,
3359 Error(ValueLoc, "expected a list, got '" + I->getAsString() + "'");
3412 return Error(Loc, "template argument with the same name has already been "
3636 return Error(Defset.Loc, "expected list type");
3660 return Error(BraceLoc, "to match this '{'");
3755 return Error(BraceLoc, "to match this '{'");
3866 return Error(BraceLoc, "to match this '{'");
4034 return Error(BraceLoc, "to match this '{'");