Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions llvm/include/llvm/IR/CFG.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ template <class Ptr, class USE_iterator> // Predecessor Iterator
class PredIterator {
public:
using iterator_category = std::forward_iterator_tag;
using value_type = Ptr;
using value_type = Ptr *;
using difference_type = std::ptrdiff_t;
using pointer = Ptr *;
using pointer = Ptr **;
using reference = Ptr *;

protected:
Expand Down Expand Up @@ -141,7 +141,8 @@ class SuccIterator
std::random_access_iterator_tag, BlockT, int,
BlockT *, BlockT *> {
public:
using difference_type = int;
using value_type = BlockT *;
using difference_type = std::ptrdiff_t;
using pointer = BlockT *;
using reference = BlockT *;

Expand Down