[PATCH] D20382: Add postorder support to RecursiveASTVisitor
Raphael Isemann via cfe-commits
cfe-commits at lists.llvm.org
Wed May 18 13:42:04 PDT 2016
teemperor added a comment.
The motivation for this patch is a hashing algorithm for all AST nodes
which reuses child hash values to be O(n) and therefore needs postorder support
(think Java's Object.hashCode() but on AST nodes as an example).
The full code that currently uses this feature can be seen here:
https://github.com/Teemperor/clang/commit/9fdb10a8a910968a795cdd48e1271fe2140fcd2f
http://reviews.llvm.org/D20382
More information about the cfe-commits
mailing list