This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++: simplify output from suggest_alternatives_for
- From: Jason Merrill <jason at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 10 Oct 2018 11:18:21 -0400
- Subject: Re: [PATCH] C++: simplify output from suggest_alternatives_for
- References: <1539108435-4967-1-git-send-email-dmalcolm@redhat.com>
On Tue, Oct 9, 2018 at 1:19 PM David Malcolm <dmalcolm@redhat.com> wrote:
> + if (!DECL_P (decl)
> + && decl == error_mark_node)
You don't need to check DECL_P here.
Jason