diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-17 15:35:40 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-17 15:35:40 +0000 |
commit | c92bde7ba9be4c00d204031971aa04b42028b42d (patch) | |
tree | 5081bdb1b8180bf802a9394a617f03b7b3445d83 /clang/lib/Serialization/ASTWriterDecl.cpp | |
parent | b604ff2a078020b463dccec9d57fc55a7c500442 (diff) | |
download | bcm5719-llvm-c92bde7ba9be4c00d204031971aa04b42028b42d.tar.gz bcm5719-llvm-c92bde7ba9be4c00d204031971aa04b42028b42d.zip |
Allow for customized graph edge pruning in PostOrderIterator.h
Make it possible to prune individual graph edges from a post-order
traversal by specializing the po_iterator_storage template. Previously,
it was only possible to prune full graph nodes. Edge pruning makes it
possible to remove loop back-edges, for example.
Also replace the existing DFSetTraits customization hook with a
po_iterator_storage method for observing the post-order. DFSetTraits was
only used by LoopIterator.h which now provides a po_iterator_storage
specialization.
Thanks to Sean and Chandler for reviewing.
llvm-svn: 160366
Diffstat (limited to 'clang/lib/Serialization/ASTWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions