sabre at nondot.org
Sat Nov 16 18:04:01 PST 2002
On Sat, 16 Nov 2002, Bill? Wendling wrote:
> Also sprach Xiaodong Li:
> } How to use a 'Node *' type iterator? Or is there any other way to traverse
> } the DSGraph?
> I don't know too much about the DSGraph module, so I didn't respond to
> that part of your question :-).
> However, a few things which will help. If you don't need to modify the
> DSNode *, then use a const_iterator instead and pass everything to
> functions which take const DSNode *.
Bill has a good point here. You probably don't need to modify the DSGraph
for your project, so using const DSNode's directly is the right way to
More information about the llvm-dev