This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB ARIndex cleanup
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Pierre Muller <muller at ics dot u-strasbg dot fr>, gdb-patches at sourceware dot org, gdb at sourceware dot org, 'Eli Zaretskii' <eliz at gnu dot org>
- Date: Thu, 26 Mar 2009 22:19:49 -0400
- Subject: Re: GDB ARIndex cleanup
- References: <000001c9ae14$24fb7cd0$6ef27670$@u-strasbg.fr> <20090326230959.GN9472@adacore.com>
On Thu, Mar 26, 2009 at 04:09:59PM -0700, Joel Brobecker wrote:
> > 1) "inline"
> > for inline, someone once said that the rule that we should not use
> > "inline" keyword is old, and maybe not correct anymore.
> >
> > If everyone agrees that this rule should stay, I will be happy to
> > commit an obvious fix removing all of them as this seems quite
> > mechanical, but I wanted to get some feedback first.
>
> I don't know much about the effectiveness of using "inline".
> I personally tend to avoid it, because I trust the compiler to determine
> whether an inline will help or not. So I'm OK either way.
My two cents: in practice, it's still useful. I don't think we need a
rule banning it.
--
Daniel Jacobowitz
CodeSourcery