The domain of a quadratic function is the set of all possible input values (x-values) that can be used in the function. For the quadratic function given:
\[ y = -x^2 + 14x - 40 \]
there are no restrictions on the values of \( x \). Quadratic functions are defined for all real numbers.
Therefore, the domain of the function is:
\[ \text{Domain: } (-\infty, \infty) \]
This means you can input any real number into the function.