Lines Matching defs:constructor
483 // Make sure there is enough data provided to the constructor to build
484 // something of the type of the constructor. Also returns the type of
485 // the constructor.
539 error(line, "array constructor needs one argument per array element", "constructor");
545 error(line, "constructing from a non-dereferenced array", "constructor");
551 error(line, "constructing matrix from matrix can only take one argument", "constructor");
557 error(line, "too many arguments", "constructor");
562 error(line, "Number of constructor parameters does not match the number of structure fields", "constructor");
569 error(line, "not enough data provided for construction", "constructor");
576 error(line, "constructor argument does not have a type", "constructor");
580 error(line, "cannot convert a sampler", "constructor");
584 error(line, "cannot convert a void", "constructor");
2088 // This function is used to test for the correctness of the parameters passed to various constructor functions
2114 error(line, "Array constructor argument has an incorrect type", "Error");
2128 error(line, "Structure constructor arguments do not match structure fields", "Error");
2136 // Turn the argument list itself into a constructor
2137 TIntermAggregate *constructor = intermediate.setAggregateOperator(aggregateArguments, op, line);
2138 TIntermTyped *constConstructor = foldConstConstructor(constructor, *type);
2144 return constructor;
3552 // Then this should be a constructor.
3560 // It's a constructor, of type 'type'.
3574 // Not a constructor. Find it in the symbol table.