On 09/29/2009 01:49 PM, Janis Johnson wrote:
On Tue, 2009-09-29 at 13:37 -0700, Richard Henderson wrote:
On 09/29/2009 01:20 PM, Janis Johnson wrote:
I've been trying to find a place in the C++ front end where I can
replace all references to the class type to the scalar types, but
haven't yet found it. Any suggestions?
cp_genericize?
Though I'm not sure what to do about global variables...
That's where I've been trying, but it doesn't touch all references
to types. Is there a way to march through all of the nodes in a
tree looking for types?
cp_walk_tree, but... that is called during cp_genericize.
r~