[cfe-dev] ASTVisitor different visit order
dgregor at apple.com
Fri Nov 13 16:00:31 CST 2009
On Nov 9, 2009, at 4:36 PM, Kevin Cathey wrote:
> I have a subclass of ASTVisitor, and on runs of the same file, it
> visits the statements, declarations, etc. in a different order. Why
> would this be? Can I ever rely on the order of the visitor?
I would have expected ASTVisitor to always visit entities in the same
order (the order in which they are processed). Can you give a specific
example where you are seeing a difference?
More information about the cfe-dev