This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] PR 51786


On 07/09/2013 05:09 AM, Jason Merrill wrote:
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.
Ah, I seemed to remember we had something, but stupidly grepped for CLASS_OR_ENUM_TYPE_P and the like ;) Anyway, changed and committed.

Thanks!
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]