Lines Matching refs:fErrors
108 , fErrors(errorReporter) {} in IRGenerator()
111 fSymbolTable.reset(new SymbolTable(std::move(fSymbolTable), fErrors)); in pushSymbolTable()
232 fErrors.error(size->fPosition, "array size must be positive"); in convertVarDeclarations()
409 fErrors.error(caseValue->fPosition, "case value must be a constant"); in convertSwitch()
415 fErrors.error(caseValue->fPosition, "duplicate case value"); in convertSwitch()
452 fErrors.error(result->fPosition, "may not return a value from a void function"); in convertReturn()
462 fErrors.error(r.fPosition, "expected function to return '" + in convertReturn()
473 fErrors.error(b.fPosition, "break statement must be inside a loop or switch"); in convertBreak()
482 fErrors.error(c.fPosition, "continue statement must be inside a loop"); in convertContinue()
530 fErrors.error(f.fPosition, "symbol '" + f.fName + "' was already defined"); in convertFunction()
546 fErrors.error(f.fPosition, "functions '" + newDecl.description() + in convertFunction()
554 fErrors.error(f.fPosition, "modifiers on parameter " + in convertFunction()
562 fErrors.error(f.fPosition, "duplicate definition of " + in convertFunction()
614 fErrors.error(decl->fPosition, in convertInterfaceBlock()
621 fErrors.error(decl->fPosition, in convertInterfaceBlock()
640 fErrors.error(converted->fPosition, "array size must be positive"); in convertInterfaceBlock()
689 fErrors.error(type.fPosition, "unknown type '" + type.fName + "'"); in convertType()
722 fErrors.error(identifier.fPosition, "unknown identifier '" + identifier.fText + "'"); in convertIdentifier()
789 fErrors.error(expr->fPosition, "expected '" + type.description() + "', but found '" + in coerce()
976 fErrors.error(right.fPosition, "division by zero"); in constantFold()
982 fErrors.error(right.fPosition, "division by zero"); in constantFold()
1010 fErrors.error(right.fPosition, "division by zero"); in constantFold()
1041 fErrors.error(expression.fPosition, "type mismatch: '" + in convertBinaryExpression()
1087 fErrors.error(expression.fPosition, "ternary operator result mismatch: '" + in convertTernaryExpression()
1125 fErrors.error(position, msg); in call()
1139 fErrors.error(position, msg); in call()
1193 fErrors.error(position, "'" + functionValue->description() + "' is not a function"); in call()
1218 fErrors.error(position, msg); in call()
1230 fErrors.error(position, "invalid arguments to '" + type.description() + in convertNumberConstructor()
1257 fErrors.error(position, "invalid argument to '" + type.description() + in convertNumberConstructor()
1295 fErrors.error(position, "'" + args[i]->fType.description() + "' is not a valid " in convertCompoundConstructor()
1310 fErrors.error(position, "'" + args[i]->fType.description() + "' is not a valid " in convertCompoundConstructor()
1316 fErrors.error(position, "invalid arguments to '" + type.description() + in convertCompoundConstructor()
1350 fErrors.error(position, "cannot construct '" + type.description() + "'"); in convertConstructor()
1364 fErrors.error(expression.fPosition, in convertPrefixExpression()
1371 fErrors.error(expression.fPosition, in convertPrefixExpression()
1387 fErrors.error(expression.fPosition, in convertPrefixExpression()
1396 fErrors.error(expression.fPosition, in convertPrefixExpression()
1405 fErrors.error(expression.fPosition, in convertPrefixExpression()
1417 fErrors.error(expression.fPosition, in convertPrefixExpression()
1443 fErrors.error(base->fPosition, "array size must be a constant"); in convertIndex()
1449 fErrors.error(base->fPosition, "expected array, but found '" + base->fType.description() + in convertIndex()
1475 fErrors.error(base->fPosition, "type '" + base->fType.description() + "' does not have a " in convertField()
1483 fErrors.error(base->fPosition, "cannot swizzle type '" + base->fType.description() + "'"); in convertSwizzle()
1519 fErrors.error(base->fPosition, SkStringPrintf("invalid swizzle component '%c'", in convertSwizzle()
1526 fErrors.error(base->fPosition, "too many components in swizzle mask '" + fields + "'"); in convertSwizzle()
1535 fErrors.error(position, "unknown capability flag '" + name + "'"); in getCap()
1569 fErrors.error(expression.fPosition, "'[]' must follow a type name"); in convertSuffixExpression()
1599 fErrors.error(base->fPosition, "cannot swizzle value of type '" + in convertSuffixExpression()
1606 fErrors.error(expression.fPosition, in convertSuffixExpression()
1615 fErrors.error(expression.fPosition, in convertSuffixExpression()
1630 fErrors.error(expr.fPosition, "expected '(' to begin function call"); in checkValid()
1633 fErrors.error(expr.fPosition, "expected '(' to begin constructor invocation"); in checkValid()
1637 fErrors.error(expr.fPosition, "invalid expression"); in checkValid()
1660 fErrors.error(expr.fPosition, in markWrittenTo()
1672 fErrors.error(expr.fPosition, in markWrittenTo()
1681 fErrors.error(expr.fPosition, "cannot assign to '" + expr.description() + "'"); in markWrittenTo()