This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [c++-concepts]: Diagnostics
- From: Gabriel Dos Reis <gdr at axiomatics dot org>
- To: Andrew Sutton <andrew dot n dot sutton at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jason Merrill <jason at redhat dot com>
- Date: Fri, 21 Jun 2013 18:38:50 -0500
- Subject: Re: [c++-concepts]: Diagnostics
- References: <CANq5Syt3a0WCW_zC6ot1Syx7krARUNLxZew0Jz0jGhwQhi6-Sg at mail dot gmail dot com> <871u7vcx2g dot fsf at euclid dot axiomatics dot org> <CANq5Syuvd87CJNg3W7CuLAAr0=9sgJX849Ep5BZO4zHFupYcqA at mail dot gmail dot com>
Andrew Sutton <andrew.n.sutton@gmail.com> writes:
| Shoot. Forgot to attach the patch...
| reinit_cxx_pp ();
| - dump_template_decl (TREE_PURPOSE (p), flags);
| + if (decl)
| + {
| + dump_template_decl (decl, flags);
| pp_cxx_whitespace (cxx_pp);
| + }
Watch out for indentation. Otherwise, OK to apply.
-- Gaby