On 06/09/13 13:43, Marc Glisse wrote:
Hello,
just adapting yet another function so it also works with vectors.
It seemed convenient to add a new macro. The name sucks (it doesn't
match the semantics of INTEGRAL_TYPE_P), but I didn't want to name it
INTEGER_SCALAR_OR_VECTOR_CONSTANT_P and didn't have any good idea for a
short name.
I'd just use a long name. I can easily see someone getting easily not
being aware that INTEGRAL_CST_P returns true for vectors and as a result
doing something inappropriate.
INTEGER_CST_OR_VECTOR_INTEGER_TYPE_P?
Jeff