Re: Questions on Trees IR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <9A77785A255522459FDD2D24C94B27D103959277@xxxxxxxxxxxxxxxxxxxxx>, "R
ohit Gulati" writes:
 >1. What kind of decl is a "class/struct/union" declarations. I see a decl cal
 >led "TYPE_DECL" but the doc says it represents "typedefs" only. I could not f
 >ind something like a CLASS_DECL or a RECORD_DECL. So how is a class/struct de
 >claration represented in Trees? Will the classes declared in a namespace be a
 >ccessible using cp_namespace_decls?
RECORD_TYPE and CLASS_TYPE.  CLASS_TYPE is only used in the C++ front-end.

 >2. Trees provides source filenames and line numbers for all decls, etc. Can I
 > also get column info from the Tree structure?
I've seen some patches for this floating around, and I'm pretty sure it's
part of "the plan".  I don't know if those changes have been integrated
into our official sources yet.

jeff




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux