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]

Re: Question about DECL_RESULT macro


On Fri, 29 Jun 2001, Ira Ruben wrote:

> I am trying to gain more understanding of gcc trees.  In 
> cp/cp-tree.def, for TEMPLATE_DECL, the comments that document the key 
> fields of a TEMPLATE_DECL

Not an answer to your question, but where comments duplicate .texi
documentation (in this case c-tree.texi) one is liable to get out of sync
with the other.  In principle, unless we use literate programming, I think
in such cases we should say that the documentation for tree structures is
in the .texi manual and remove comments on data structures that duplicate
it.  (And complete the tree manual, also distinguishing what features are
general, what are C/C++ only and what are C++ only.)

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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