================
@@ -0,0 +1,23 @@
+#ifndef TEST_REGEX
+#define TEST_REGEX
+
+namespace std {
+
+template <typename BidirectionalIterator>
+class match_results {
+public:
+  using size_type = unsigned long;
+
+  size_type length(size_type sub = 0) const;
----------------
MitraGulla wrote:

I didn't checked the exact return type earlier, i have now updated the 
declaration in the mock header from

`size_type length(size_type sub = 0) const;`  to

`difference_type length(size_type sub = 0) const;`

to match the standard definition.

https://github.com/llvm/llvm-project/pull/234905
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to