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 last patch introduced a regression. This ensures that we don't generate false positives diagnosing errors in non-template contexts. 2013-10-07 Andrew Sutton <andrew.n.sutton@gmail.com> * gcc/cp/cp-tree.h (check_constrained_friend): Take requirements as an argument. * gcc/cp/constraints.cc (check_constrained_friend): Do not diagnose errors in unconstrained friend declarations. * gcc/cp/parser.cc (cp_parser_member_declaration): Pass current requirements to check_constrained_friend. Andrew Sutton
Attachment:
friends-4.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |