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++-concepts] constrained friends redux


Hi Andrew,

On 10/04/2013 07:36 PM, Andrew Sutton wrote:
+          if (!check_template_constraints (tmpl, args))
+            {
+              location_t loc = DECL_SOURCE_LOCATION (function);
+              error ("%qD is not a viable candidate", function);
+              diagnose_constraints (input_location, tmpl, args);
+              return error_mark_node;
+            }
Nit: loc seems unused.

Thanks,
Paolo.


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