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] |
... the below seems better to me: 1- FUNCTION_DECLs and TEMPLATE_DECLs are handled in their own places.2- When I tweaked default3.C I didn't notice at first the real reason for the existing xfail: in such case we didn't give the check_default_args diagnostics. Restored in the below. 3- By handling TEMPLATE_DECLs separately, we can give the check_redeclaration_no_default_args permerror and the check_default_args error in a consistent order, that is the former before the latter, which makes most sense to me (also matches the clang order).
Thanks! Paolo. //////////////////////
Attachment:
CL_15339_2
Description: Text document
Attachment:
patch_15339_2
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |