There already is a ParentMap class; it's in AST. It does everything recursively, so maybe it would be good to change it for a RecursiveASTVisitor, but please alter the current file/interface so that existing clients (both the analyzer and some of the rewriters) can get the benefit of your work.
(I haven't looked at your patch; this just jumped out at me.) http://llvm-reviews.chandlerc.com/D36 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
