This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: is_predicate_p?


 > 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?

FWIW, I also think we should standardize on all of them returning
bool.  It helps to emphasize the nature/purpose of the function.

		--Kaveh
--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Solutions


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