This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA 06/22] Introduce scoped_minimal_symbol_reader


On 10/11/2016 12:06 AM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> 
> Pedro> GCC eschews using // comments, to avoid ending up with a mixbag
> Pedro> of styles.  Maybe we should follow suit?
> 
> I don't remember - did you want me to change this or not?
> I prefer "//" comments but it's up to you.

I'd prefer to change it for the sake of consistency.  A single comment
in a different style in between other comments stands out as odd to me.

For tail-end single-line comments, like

  } // namespace gdb

it doesn't look that odd to me.  AFAICS, these are the cases
where gcc uses // too, for the most part.

Thanks,
Pedro Alves


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