1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

Fix missing header and namespace qualifier in ADT Sequence

This commit is contained in:
Guillaume Chatelet 2021-06-08 14:11:54 +00:00
parent 83dd05c1f3
commit 5c5f9ef7cf

View File

@ -15,7 +15,8 @@
#ifndef LLVM_ADT_SEQUENCE_H
#define LLVM_ADT_SEQUENCE_H
#include <iterator>
#include <cstddef> // std::ptrdiff_t
#include <iterator> // std::random_access_iterator_tag
namespace llvm {
@ -24,7 +25,7 @@ namespace detail {
template <typename T, bool IsReversed> struct iota_range_iterator {
using iterator_category = std::random_access_iterator_tag;
using value_type = T;
using difference_type = ptrdiff_t;
using difference_type = std::ptrdiff_t;
using pointer = T *;
using reference = T &;