summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriterDecl.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-17 15:35:40 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-17 15:35:40 +0000
commitc92bde7ba9be4c00d204031971aa04b42028b42d (patch)
tree5081bdb1b8180bf802a9394a617f03b7b3445d83 /clang/lib/Serialization/ASTWriterDecl.cpp
parentb604ff2a078020b463dccec9d57fc55a7c500442 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud