On 07/09/2013 05:09 AM, Jason Merrill wrote:
Ah, I seemed to remember we had something, but stupidly grepped for CLASS_OR_ENUM_TYPE_P and the like ;) Anyway, changed and committed.On 07/08/2013 07:32 PM, Paolo Carlini wrote:+ && (CLASS_TYPE_P (decl_specifiers.type) + || TREE_CODE (decl_specifiers.type) == ENUMERAL_TYPE))You can use OVERLOAD_TYPE_P here if you want.
Thanks! Paolo.