0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/libllvm/llvm-include-llvm-ADT-SmallVector.h.patch
2022-09-19 12:43:29 +05:30

14 lines
340 B
Diff

--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/include/llvm/ADT/SmallVector.h
@@ -735,6 +735,10 @@
return(N);
}
+#ifdef CS
+#undef CS
+#endif
+
iterator erase(const_iterator CS, const_iterator CE) {
// Just cast away constness because this is a non-const member function.
iterator S = const_cast<iterator>(CS);