~vcmi/googletest/+git/googletest:v1.13.x

Last commit made on 2023-01-17
Get this branch:
git clone -b v1.13.x https://git.launchpad.net/~vcmi/googletest/+git/googletest

Branch merges

Branch information

Name:
v1.13.x
Repository:
lp:~vcmi/googletest/+git/googletest

Recent commits

b796f7d... by Derek Mauro <email address hidden>

Bump version to 1.13.0 in preparation for release

PiperOrigin-RevId: 502626077
Change-Id: I3aad27a8b725cf73163e52ef2e28e6cdfc13082b

ac7a126... by Abseil Team <email address hidden>

gmock_output_test: normalize golden file output to unix line endings

When checked out on Windows, the repo might use \r\n line endings,
and so the golden output has them. Adjust for that.

PiperOrigin-RevId: 502577222
Change-Id: Iabfe537f6d95a49bf6bdcb934e855d28c65f6f89

356fc30... by Tom Hughes <email address hidden>

Fix -Wshadow warnings

../googlemock/test/gmock-actions_test.cc:687:36: warning: declaration of ‘v’ shadows a member of ‘testing::{anonymous}::ReturnTest_SupportsReferenceLikeReturnType_Test::TestBody()::Result’ [-Wshadow]
  687 | Result(const std::vector<int>& v) : v(&v) {} // NOLINT
      | ~~~~~~~~~~~~~~~~~~~~~~~~^
../googlemock/test/gmock-actions_test.cc:686:29: note: shadowed declaration is here
  686 | const std::vector<int>* v;
      | ^

../googlemock/test/gmock-actions_test.cc: In constructor ‘testing::{anonymous}::ReturnTest_PrefersConversionOperator_Test::TestBody()::Out::Out(int)’:
../googlemock/test/gmock-actions_test.cc:720:28: warning: declaration of ‘x’ shadows a member of ‘testing::{anonymous}::ReturnTest_PrefersConversionOperator_Test::TestBody()::Out’ [-Wshadow]
  720 | explicit Out(const int x) : x(x) {}
      | ~~~~~~~~~~^
../googlemock/test/gmock-actions_test.cc:718:9: note: shadowed declaration is here
  718 | int x;
      | ^

PiperOrigin-RevId: 501580618
Change-Id: I584710fbbe440ec724f88746e51f3be5653c32d5

b5401fe... by Derek Mauro <email address hidden>

Add an explicit #error that C++ versions less than C++14 are not supported

PiperOrigin-RevId: 501568410
Change-Id: I0f78cd96dc9204c8ec97a1cdd09a9d63a613cc5b

a652ae0... by Derek Mauro <email address hidden>

Update GoogleTest dependencies

PiperOrigin-RevId: 501282034
Change-Id: I0314ac566dc5e117db5a06c97d303e5cf8822d61

9345421... by Tom Hughes <email address hidden>

Fix GTEST_OS_ESP8266 check

Everywhere else in the code, we check the value of GTEST_OS_ESP8266, not just
whether it is defined.

PiperOrigin-RevId: 499946909
Change-Id: I86f7e8947abb4e928fc24d1416d8237987b27845

e5e46b0... by Tom Hughes <email address hidden>

IWYU: Add missing std includes

PiperOrigin-RevId: 499893032
Change-Id: I33304802b7c82ae2d008f3ee89df38866e5f57ba

0296d7d... by Derek Mauro <email address hidden>

Workaround for GCC12 bug illustrated by https://godbolt.org/z/Pe5aE59xG

Fixes #4108

PiperOrigin-RevId: 499556061
Change-Id: I1cb1564f9b77e1825fddc9236965f4a3b661d96a

3a99ab6... by Tom Hughes <email address hidden>

Fix _MSC_VER check

Use "#if defined(_MSC_VER)" instead of "#if _MSC_VER" to be consistent with other usages in the file and to work with the "-Wundef" warning.

PiperOrigin-RevId: 499471290
Change-Id: I34a9442eecf266afd74d4332cab7d39766df4ed9

71140c3... by Abseil Team <email address hidden>

Use a more recent commit of googletest that uses OS constraints from
@platforms//os:* instead of from @build_tools//platforms:*

See https://github.com/bazelbuild/bazel/issues/8622

Necessary to fix #4096

Also need the fix for #4098

PiperOrigin-RevId: 497182073
Change-Id: Ifd568b088d2f779755dd20264edfd5dad12ca9cc