Skip to content

Conversation

@netromdk
Copy link
Owner

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the GoogleTest framework to support C++20, involving significant refactoring and modernization of the codebase. The changes align with newer C++ standards and improve code quality.

Key Changes

  • Upgrade preprocessor macros from #if to #ifdef / #if defined() for better consistency
  • Replace deprecated APIs and remove legacy code patterns
  • Add new functionality including C++20 features and improved test infrastructure
  • Reorganize header includes and improve code formatting

Reviewed Changes

Copilot reviewed 46 out of 48 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/gtest/src/gtest_main.cc Updated platform detection macros and reorganized main entry points for different platforms
tests/gtest/src/gtest.cc Major refactoring with updated flag handling, improved test filtering logic, and C++20 compatibility
tests/gtest/src/gtest-typed-test.cc Code formatting improvements and simplified conditionals
tests/gtest/src/gtest-test-part.cc Cleaned up streaming operators and simplified code structure
tests/gtest/src/gtest-printers.cc Added 128-bit integer support and updated character handling for C++20
tests/gtest/src/gtest-port.cc Improved platform-specific code organization and thread handling
tests/gtest/src/gtest-matchers.cc Reordered includes for better dependency management
tests/gtest/src/gtest-internal-inl.h Updated flag accessors from direct access to getter/setter macros
tests/gtest/src/gtest-filepath.cc Enhanced path handling with better Windows UNC support
tests/gtest/src/gtest-assertion-result.cc New file extracting AssertionResult implementation
tests/gtest/src/gtest-all.cc Updated to include new source file
tests/gtest/include/gtest/internal/gtest-string.h Minor formatting and documentation improvements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@netromdk netromdk merged commit 24dc47b into master Nov 17, 2025
20 checks passed
@netromdk netromdk deleted the c++20 branch November 17, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants