googletest/googlemock/test
Tom Hughes 356fc30125 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
2023-01-12 09:04:13 -08:00
..
BUILD.bazel Split gmock-matchers_test into 4 smaller test #3653 2022-03-23 09:08:04 -07:00
gmock_all_test.cc Split gmock-matchers_test into 4 smaller test #3653 2022-03-23 09:08:04 -07:00
gmock_ex_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_leak_test_.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock_leak_test.py Makes the Python imports consistently use full paths from the repository root, 2021-12-22 13:01:24 -08:00
gmock_link2_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_link_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_link_test.h Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock_output_test_.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock_output_test_golden.txt Update gmock_output_test_golden.txt 2022-06-22 14:21:07 +03:00
gmock_output_test.py Address deprecation warning surfaced by Github presubmit tests 2022-03-23 15:08:26 -07:00
gmock_stress_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_test_utils.py Makes the Python imports consistently use full paths from the repository root, 2021-12-22 13:01:24 -08:00
gmock_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-actions_test.cc Fix -Wshadow warnings 2023-01-12 09:04:13 -08:00
gmock-cardinalities_test.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock-function-mocker_test.cc Disables -Wunused-member-function and -Wused-but-marked-unused that trigger via MOCK_METHOD() and EXPECT_THAT() macros. 2022-11-29 08:44:15 -08:00
gmock-internal-utils_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-matchers_test.h Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-matchers-arithmetic_test.cc Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too. 2022-04-26 09:49:03 -07:00
gmock-matchers-comparisons_test.cc Add support of 19-member structs to gmock UnpackStructImpl. 2022-08-22 06:42:57 -07:00
gmock-matchers-containers_test.cc Make SizeIsMatcher::Impl conform to the contract of MatcherDescriberInterface. 2022-11-30 14:42:31 -08:00
gmock-matchers-misc_test.cc Disables -Wunused-member-function and -Wused-but-marked-unused that trigger via MOCK_METHOD() and EXPECT_THAT() macros. 2022-11-29 08:44:15 -08:00
gmock-more-actions_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-nice-strict_test.cc Remove the legacy internal GTEST_DISALLOW_* macros 2022-04-22 11:26:03 -07:00
gmock-port_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-pp_test.cc Merge pull request #2514 from thejcannon:msvc_macro_issue 2019-10-23 13:35:26 -04:00
gmock-pp-string_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-spec-builders_test.cc Merge pull request #4041 from zloylos:allow-naming-expectations 2022-10-25 08:39:19 -07:00