summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2023-07-19 00:26:16 +0300
committerrobot-contrib <[email protected]>2023-07-19 00:26:16 +0300
commitffa002e1be2608def4942937ec5f05d66c606e78 (patch)
tree0fc783c08ee952106c3dddad6bef7b0c7f105da9
parent821b6e492106a1a6040e9fd07ffc8544664da97b (diff)
Update contrib/libs/re2 to 2023-07-01
-rw-r--r--contrib/libs/re2/re2/stringpiece.h10
-rw-r--r--contrib/libs/re2/ya.make4
2 files changed, 4 insertions, 10 deletions
diff --git a/contrib/libs/re2/re2/stringpiece.h b/contrib/libs/re2/re2/stringpiece.h
index 6d11d16a022..e9367bff313 100644
--- a/contrib/libs/re2/re2/stringpiece.h
+++ b/contrib/libs/re2/re2/stringpiece.h
@@ -9,14 +9,8 @@
namespace re2 {
-// RE2 has two versions: "sans Abseil" in the main branch; and "avec Abseil" in
-// the abseil branch. This has led to a diamond dependency problem for projects
-// like Envoy: as per https://github.com/google/re2/issues/388, GoogleTest took
-// a dependency on RE2 avec Abseil, but other things depend on RE2 sans Abseil.
-// To resolve this conflict until both versions can migrate to std::string_view
-// (C++17), those other things must be able to #include "re2/stringpiece.h" and
-// use re2::StringPiece. (This is a hack, obviously, but it beats telling every
-// project in this situation that they have to perform source transformations.)
+// Until RE2 requires C++17 and uses std::string_view, allow users to
+// continue to #include "re2/stringpiece.h" and use re2::StringPiece.
using StringPiece = absl::string_view;
} // namespace re2
diff --git a/contrib/libs/re2/ya.make b/contrib/libs/re2/ya.make
index 858427a7c81..4a32055a126 100644
--- a/contrib/libs/re2/ya.make
+++ b/contrib/libs/re2/ya.make
@@ -9,9 +9,9 @@ LICENSE(
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(2023-06-02)
+VERSION(2023-07-01)
-ORIGINAL_SOURCE(https://github.com/google/re2/archive/2023-06-02.tar.gz)
+ORIGINAL_SOURCE(https://github.com/google/re2/archive/2023-07-01.tar.gz)
PEERDIR(
contrib/restricted/abseil-cpp/absl/base