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: [PATCH] Add comments to gdbarch_address_class_name_to_type_flags


On 01/16/2014 07:44 PM, Sergio Durigan Junior wrote:
> On Thursday, January 16 2014, Simon Marchi wrote:
> 
>> I'm ok with that. Actually, I looked around to try to keep the same style, but I stumbled upon a "bad" example :P
> 
> $ git grep "zero otherwise" | wc -l
> 85
> $ git grep "false otherwise" | wc -l
> 30
> 
> Not very hard to choose a "bad" example...

Alright, you win.  :-)  Wishful thinking I guess.
I do think true/false is better when we mean a boolean.
We even had talks about using gnulib's bool before.  Kind
of moot/unnecessary if we do get to move to C++ though.

-- 
Pedro Alves


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