On Sat, Sep 9, 2017 at 2:45 AM, Yao Qi <qiyao...@gmail.com> wrote: > On Fri, Aug 11, 2017 at 3:14 PM, Pedro Alves >> Yeah, this is a macro that lots of projects out there reinvent, >> can't imagine it being very controversial. >> >> I could have used this today in another spot in gdb. >> >> The patch as is touches areas with different maintainers, it >> may have fallen victim of diffusion of responsibility. >> >> Could we get at least the ansidecl.h change in, so we can >> start using it in gdb? CCing Ian as a libiberty maintainer. > > Hi Ian, > I just talked with you about this patch. You are cc'ed. Could you > take a look at the change in include/ansidecl.h? Then, we can use it > in different > projects, gcc, gdb and gold.
The patch to include/ansidecl.h is basically OK. Please add an example in the comment showing how to use it: after `private:`, and with a trailing semicolon. Thanks. The patches to the other files will have to be approved by the relevant maintainers. Ian