Commit 6c2630fe by Gennadiy Rozental Committed by Copybara-Service

Finally delete ArgListAction after cleanup is completed.

PiperOrigin-RevId: 513379475
Change-Id: I0d7af3a0d2bf4da6eec66a5320ecc402d2e8fec8
parent 1d07cfed
......@@ -20,11 +20,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# GoogleTest/GoogleMock framework. Used by most unit-tests.
http_archive(
name = "com_google_googletest", # 2023-01-05T19:15:29Z
sha256 = "1c805208d019aabb8be3cddbc6098be8815ee5cf0a7baf526102528fd624c422",
strip_prefix = "googletest-934542165899c786cb5d8a710529c37184730183",
name = "com_google_googletest", # 2023-02-28T13:15:29Z
sha256 = "82ad62a4e26c199de52a707778334e80f6b195dd298d48d520d8507d2bcb88c4",
strip_prefix = "googletest-2d4f208765af7fa376b878860a7677ecc0bc390a",
# Keep this URL in sync with ABSL_GOOGLETEST_COMMIT in ci/cmake_common.sh.
urls = ["https://github.com/google/googletest/archive/934542165899c786cb5d8a710529c37184730183.zip"],
urls = ["https://github.com/google/googletest/archive/2d4f208765af7fa376b878860a7677ecc0bc390a.zip"],
)
# RE2 (the regular expression library used by GoogleTest)
......
......@@ -32,7 +32,6 @@ namespace absl {
ABSL_NAMESPACE_BEGIN
namespace flags_internal {
enum class ArgvListAction { kRemoveParsedArgs, kKeepParsedArgs };
enum class UsageFlagsAction { kHandleUsage, kIgnoreUsage };
enum class OnUndefinedFlag {
kIgnoreUndefined,
......@@ -44,13 +43,6 @@ std::vector<char*> ParseCommandLineImpl(int argc, char* argv[],
UsageFlagsAction usage_flag_act,
OnUndefinedFlag on_undef_flag);
// To be removed
inline std::vector<char*> ParseCommandLineImpl(
int argc, char* argv[], ArgvListAction /* arg_list_act */,
UsageFlagsAction usage_flag_act, OnUndefinedFlag on_undef_flag) {
return ParseCommandLineImpl(argc, argv, usage_flag_act, on_undef_flag);
}
// --------------------------------------------------------------------
// Inspect original command line
......
......@@ -14,7 +14,7 @@
# The commit of GoogleTest to be used in the CMake tests in this directory.
# Keep this in sync with the commit in the WORKSPACE file.
readonly ABSL_GOOGLETEST_COMMIT="934542165899c786cb5d8a710529c37184730183"
readonly ABSL_GOOGLETEST_COMMIT="2d4f208765af7fa376b878860a7677ecc0bc390a"
# Avoid depending on GitHub by looking for a cached copy of the commit first.
if [[ -r "${KOKORO_GFILE_DIR:-}/distdir/${ABSL_GOOGLETEST_COMMIT}.zip" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment