This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: is_predicate_p?
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: 08 Jun 2002 17:29:23 +0200
- Subject: Re: is_predicate_p?
- Organization: CodeSourcery, LLC
- References: <200206081250.IAA06610@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
| > From: Jason Merrill <jason@redhat.com>
| >
| > Predicates in GCC come in a wide variety of spellings. Some end in
| > _p, some start with is_, some have _is_ in the middle, some just
| > expect you to know they're predicates based on the meaning of the
| > name. Should we set some sort of standard spelling for future
| > additions?
| > Jason
|
| Probably, care to suggest one?
All but the _p thingy seems a bit intriguing to me (although I know
where ot comes from -- I just believe that we shouldn't be insisting
to write LISP in C :-\)
| FWIW, I also think we should standardize on all of them returning
| bool.
I think that was agreed upon, in past discussions.
-- Gaby