This is the mail archive of the gcc-patches@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: Patch to categorize builtins.def


 > From: Roger Sayle <roger@eyesopen.com>
 > 
 > Its only an inconvenience, and is trivially worked around [I can
 > always run sort on builtins.def myself now that you've made that
 > possible, thanks!].  Infact, I'm not even sure why I'm arguing,
 > [...]

Exactly. :-)

With builtins listed one per line, I think your point about being able
to rerun sort yourself now weakens the argument for storing it in
sorted form.  As you just stated, for visually cross-referencing a
complete sorted list you merely have to do:

	grep ^DEF_ | sort +2

If you want just C99 functions then do:

	grep ^DEF_C99 | sort +2

Etc.

Whereas if you want to see all string builtins there's no automated
way to get that unless we maintain the functions in categories.

Agreed?

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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