On Aug 29, 2005, at 5:34 AM, [EMAIL PROTECTED] wrote:
I'm trying to extract global variables from a set of c++ files. I
tried
using:
cp_namespace_decls(global_namespace);
But this returns a whole set of variables which I do not want to know
about now (i.e stdout, timezone, _ZTISt10ostrstream e.t.c)
How do I get rid of this excess or what is the right way of accessing
such variables?
Try looking ta DECL_SOURCE_FILE/DECL_SOURCE_LINE/DECL_ARTIFICIAL and
you'll want to read and understand files like cp-tree.h, tree.h and
tree.def.