diff options
Diffstat (limited to 'swift-lang-4.1-fix-for-clang-6.patch')
-rw-r--r-- | swift-lang-4.1-fix-for-clang-6.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/swift-lang-4.1-fix-for-clang-6.patch b/swift-lang-4.1-fix-for-clang-6.patch new file mode 100644 index 0000000..f50d408 --- /dev/null +++ b/swift-lang-4.1-fix-for-clang-6.patch @@ -0,0 +1,11 @@ +--- swift/include/swift/Basic/ArrayRefView.h.orig 2018-02-13 10:36:07.091252447 -0600 ++++ swift/include/swift/Basic/ArrayRefView.h 2018-02-13 10:36:48.915917269 -0600 +@@ -47,6 +47,8 @@ + Projected operator->() const { return operator*(); } + iterator &operator++() { Ptr++; return *this; } + iterator operator++(int) { return iterator(Ptr++); } ++ iterator &operator--() { Ptr--; return *this; } ++ iterator operator--(int) { return iterator(Ptr--); } + bool operator==(iterator rhs) const { return Ptr == rhs.Ptr; } + bool operator!=(iterator rhs) const { return Ptr != rhs.Ptr; } + |