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: [PATCH] C++: simplify output from suggest_alternatives_for


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


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