1. 03 Mar, 2023 1 commit
    • Abseil Team's avatar
      Internal Code Change · cead3d57
      Abseil Team authored
      PiperOrigin-RevId: 513770561
      Change-Id: I82fbed177c6ba4e2e5b776ae3e0255c868e32e25
      cead3d57
  2. 16 Feb, 2023 1 commit
  3. 07 Feb, 2023 2 commits
  4. 06 Feb, 2023 1 commit
  5. 01 Feb, 2023 3 commits
  6. 30 Jan, 2023 2 commits
  7. 25 Jan, 2023 2 commits
  8. 24 Jan, 2023 2 commits
    • Tom Hughes's avatar
      Fix formatting of C++ files · 24917105
      Tom Hughes authored
      PiperOrigin-RevId: 504325204
      Change-Id: Iaa1d6d0ab1dccaaeef26f9cb109d530835499240
      24917105
    • Derek Mauro's avatar
      Remove FloatingPoint::Max() in favor of std::numeric_limits::max() · 544c96ed
      Derek Mauro authored
      In #4113 a user says Max clashes with a macro. Since it is only used in
      a test, use std::numeric_limits::max() instead.
      
      Note that in headers, the macro issue can be mitigated with
      parenthesis like this: `(std::numeric_limits<T>::max)()`
      
      PiperOrigin-RevId: 504284906
      Change-Id: Ibf430caec1a6afdf6b303534fec6a4fd00a6373f
      544c96ed
  9. 17 Jan, 2023 2 commits
  10. 12 Jan, 2023 1 commit
    • Tom Hughes's avatar
      Fix -Wshadow warnings · 356fc301
      Tom Hughes authored
      ../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
      356fc301
  11. 05 Jan, 2023 1 commit
  12. 04 Jan, 2023 1 commit
  13. 15 Dec, 2022 1 commit
    • Abseil Team's avatar
      Shut up a Clang warning. · 3fa7f983
      Abseil Team authored
      Clang warns on this pattern because it looks like the author might
      have meant to use the value of the first part of the comma operator,
      so it warns that it isn't being used. The cast here signals to Clang
      that this behavior is intentional.
      
      This was discovered while updating gmock in Android. Clang's -Wcomma
      warning is on by default with either -Wall or -Werror, so users of
      gmock with those on in combination with -Werror are unable to build
      without this fix.
      
      PiperOrigin-RevId: 495655990
      Change-Id: Iaf27e2199669f5b6185a877738234e551b6b6556
      3fa7f983
  14. 12 Dec, 2022 1 commit
  15. 30 Nov, 2022 1 commit
    • Abseil Team's avatar
      Make SizeIsMatcher::Impl conform to the contract of MatcherDescriberInterface. · 1f643f71
      Abseil Team authored
      MatcherDescriberInterface specifies that DescribeTo "should print a verb phrase", but "size ..." is not a verb phrase. Currently, ElementsAre(SizeIs(9)) is described as "has 1 element that size is equal to 9". With this change, it will be described as "has 1 element that has a size that is equal to 9".
      
      PiperOrigin-RevId: 492022324
      Change-Id: I4083335f2419462464957521c1e033643b53b763
      1f643f71
  16. 29 Nov, 2022 1 commit
  17. 08 Nov, 2022 1 commit
  18. 21 Oct, 2022 2 commits
  19. 20 Oct, 2022 1 commit
  20. 12 Oct, 2022 1 commit
  21. 26 Sep, 2022 1 commit
  22. 08 Sep, 2022 1 commit
    • Abseil Team's avatar
      Remove obsolete MSVC warning pragmas for Invalid<T>() · 0f688540
      Abseil Team authored
      Remove the MSVC pragmas for disabling warning C4717 (infinite recursion) for
      Invalid<T>() because that warning has been fixed in cl/441474979.
      
      PiperOrigin-RevId: 473012585
      Change-Id: I5f1bf88379bd4f2bf005e029c04766ac4caadd84
      0f688540
  23. 01 Sep, 2022 1 commit
  24. 22 Aug, 2022 1 commit
  25. 29 Jul, 2022 1 commit
  26. 25 Jul, 2022 1 commit
  27. 01 Jul, 2022 3 commits
  28. 29 Jun, 2022 1 commit
  29. 27 Jun, 2022 2 commits