1. 06 Jun, 2023 1 commit
  2. 05 Jun, 2023 1 commit
  3. 02 Jun, 2023 1 commit
  4. 01 Jun, 2023 3 commits
  5. 31 May, 2023 2 commits
  6. 30 May, 2023 2 commits
  7. 25 May, 2023 1 commit
    • niranjan's avatar
      Disable some warnings for IntelLLVM on Windows. · 029d3ddd
      niranjan authored
      Use /fp:precise to override IntelLLVM's default of /fp:fast.
      This makes IsInf and IsNan work as expected by googletest.
      
      ```
      [build]...\googletest\googlemock\test\gmock-function-mocker_test.cc(143,21): error: 'VoidReturning' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
      [build]   MOCK_METHOD(void, VoidReturning, (int n));  // NOLINT
      ```
      
      ```
      [build] ...\googletest\googlemock\test\gmock-function-mocker_test.cc(182,20): error: exception specification of overriding function is more lax than base version [-Werror,-Wmicrosoft-exception-spec]
      [build]   MOCK_METHOD(int, CTNullary, (), (Calltype(STDMETHODCALLTYPE)));
      ```
      
      ```
      [build] ...\googletest\googletest\test\googletest-death-test-test.cc(209,5): error: unused function 'DieInCRTDebugElse12' [-Werror,-Wunused-function]
      [build] int DieInCRTDebugElse12(int* sideeffect) {
      [build]     ^
      ```
      
      ```
      [build] ...\googletest\googletest\test\gtest_unittest.cc(4096,7): error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
      [build]   int n = 0;
      ```
      029d3ddd
  8. 24 May, 2023 1 commit
    • Niranjan Nilakantan's avatar
      Build googletest with IntelLLVM compilers. · e032d576
      Niranjan Nilakantan authored
      Use the same flags as Clang if the compiler id is IntelLLVM.
      
      IntelLLVM warns if a double constant is assigned to a float.
      
      ```
      [build] .../googletest/googletest/include/gtest/gtest-printers.h:516:17: warning: implicit conversion between floating point types of different sizes [-Wimplicit-float-size-conversion]
      [build]       mulfor6 = 1e1;
      ```
      
      IntelLLVM uses fp-model=fast by default, breaking IsNan and IsInf tests.
      Use -ffp-model=precise to fix this.
      
      IntelLLVM does not support -Wchar-subscripts
      
      Fixes #4255
      e032d576
  9. 22 May, 2023 1 commit
  10. 21 May, 2023 1 commit
  11. 17 May, 2023 1 commit
  12. 16 May, 2023 1 commit
  13. 15 May, 2023 2 commits
  14. 11 May, 2023 4 commits
  15. 08 May, 2023 1 commit
  16. 07 May, 2023 1 commit
  17. 05 May, 2023 1 commit
  18. 02 May, 2023 1 commit
  19. 01 May, 2023 2 commits
  20. 28 Apr, 2023 2 commits
  21. 26 Apr, 2023 1 commit
    • Abseil Team's avatar
      Use Abseil Flag public API for flag parsing. · dea0484e
      Abseil Team authored
      This change brings InitGoogleTest semantic in accordance with the official documentation: only GoogleTest flags are removed from argc/argv. The rest of the flags remains in place. We do nothing special for flags with unrecognized gunit_/gtest_ prefix and we do not report them.
      
      PiperOrigin-RevId: 527257221
      Change-Id: Ibb29a1bda1a44251a4ee579c0fb5bbdfd9965c21
      dea0484e
  22. 25 Apr, 2023 2 commits
  23. 24 Apr, 2023 1 commit
    • Patryk Gawroński's avatar
      gmock: fix issue #4222 · 51eeae5a
      Patryk Gawroński authored
      Rename 'Result' struct to 'NonMoveableStruct' in
      gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
      51eeae5a
  24. 21 Apr, 2023 2 commits
  25. 20 Apr, 2023 4 commits
    • Tom Hughes's avatar
      Add missing std includes · a5308bb9
      Tom Hughes authored
      PiperOrigin-RevId: 525850646
      Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
      a5308bb9
    • Tom Hughes's avatar
      Use std::make_unique · 9c1efac2
      Tom Hughes authored
      PiperOrigin-RevId: 525828947
      Change-Id: I66f47c835bc93ba171eba0da8df09eff89c6c77b
      9c1efac2
    • Tom Hughes's avatar
      Fix spelling · d7fb5e1a
      Tom Hughes authored
      PiperOrigin-RevId: 525820426
      Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
      d7fb5e1a
    • Tom Hughes's avatar
      Add missing std includes · d8a5fb7e
      Tom Hughes authored
      PiperOrigin-RevId: 525794940
      Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
      d8a5fb7e