"llvm/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "c7e43fffc5ae0d3559e412061ba8102fe43dfd21"
Implements memoization for ancestor matching.
This yields a log(#ast_nodes) worst-case improvement with matchers like stmt(unless(hasAncestor(...))). Also made the order of visitation for ancestor matches BFS, as the most common use cases (for example finding the closest enclosing function definition) rely on that. llvm-svn: 177081
Loading
Please register or sign in to comment