[PATCH] First step towards adding a parent map to the ASTContext.

Edwin Vane edwin.vane at intel.com
Tue Feb 5 06:27:29 PST 2013


  I don't know anything about the analyzer but it sounds like it is what is driving the design. For tools this all looks good if only a little heavy-handed. Your suggestions for improvements that would make parent map construction not touch the whole AST would be welcome.

  Question: does MatchASTVisitor::matchesAncestorOf() need fixing to use the new ASTContext::getParents()?

http://llvm-reviews.chandlerc.com/D267



More information about the cfe-commits mailing list