mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 21:47:07 +00:00
Implement proper iterator tags
llvm-svn: 1441
This commit is contained in:
parent
b2e2570645
commit
fee8f19bbe
@ -130,6 +130,10 @@ public:
|
||||
_BI_t BI; // BasicBlock::iterator
|
||||
public:
|
||||
typedef bidirectional_iterator_tag iterator_category;
|
||||
typedef IIty value_type;
|
||||
typedef unsigned difference_type;
|
||||
typedef BIty pointer;
|
||||
typedef IIty reference;
|
||||
|
||||
template<class M> InstIterator(M &m)
|
||||
: BBs(m.getBasicBlocks()), BB(BBs.begin()) { // begin ctor
|
||||
|
Loading…
Reference in New Issue
Block a user