Address constants (C99 6.6p9) are not handled. (r43994)
The standard says that the rules for constant expressions in
initializers are more lax than for other constant expressions. Does
this mean isConstantInitializer is needed in addition to
isConstantExpr, like isIntegerConstantExpr?
It seems that current isConstantExpr is used as isConstantInitializer,
so I patched isConstantExpr directly.
A rather incomplete implementation and a test is attached.
address-constant.txt (979 Bytes)