Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: HYPERLABS/Catch2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: devel
Choose a base ref
...
head repository: catchorg/Catch2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: devel
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 11 files changed
  • 2 contributors

Commits on Oct 3, 2025

  1. Configuration menu
    Copy the full SHA
    8219ed7 View commit details
    Browse the repository at this point in the history
  2. Annotate matcher combinators with CATCH_ATTR_LIFETIMEBOUND

    The matcher combinators do not take ownership of the matchers
    being combined, which can catch the users off-guard, when code like
    this
    
    ```cpp
    using Catch::Matchers::EndsWith;
    using Catch::Matchers::ContainsSubstring;
    
    auto combinedMatcher = EndsWith("as a service")
                           && ContainsSubstring("web scale");
    
    REQUIRE_THAT( getSomeString(), combinedMatcher );
    ```
    
    leads to use-after-free, as the `combinedMatcher` refers to matcher
    temporaries that no longer exists. With this commit, users of Clang,
    MSVC or other compiler that understands the `lifetimebound` attribute,
    should get a warning.
    horenmar committed Oct 3, 2025
    Configuration menu
    Copy the full SHA
    8e4ab5d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2025

  1. Configuration menu
    Copy the full SHA
    cb6d713 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    363ca5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9223b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a58df2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33e6fd2 View commit details
    Browse the repository at this point in the history
Loading