mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-09 20:25:41 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7ee2173aca | ||
![]() |
20d3f1939d | ||
![]() |
459ac8562b |
6
.github/workflows/mac-builds.yml
vendored
6
.github/workflows/mac-builds.yml
vendored
@@ -4,11 +4,7 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# macos-12 updated to a toolchain that crashes when linking the
|
runs-on: macos-14
|
||||||
# test binary. This seems to be a known bug in that version,
|
|
||||||
# and will eventually get fixed in an update. After that, we can go
|
|
||||||
# back to newer macos images.
|
|
||||||
runs-on: macos-11
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
cxx:
|
cxx:
|
||||||
|
@@ -164,14 +164,13 @@ namespace Catch {
|
|||||||
ITransientExpression(ITransientExpression const&) = default;
|
ITransientExpression(ITransientExpression const&) = default;
|
||||||
ITransientExpression& operator=(ITransientExpression const&) = default;
|
ITransientExpression& operator=(ITransientExpression const&) = default;
|
||||||
|
|
||||||
// We don't actually need a virtual destructor, but many static analysers
|
|
||||||
// complain if it's not here :-(
|
|
||||||
virtual ~ITransientExpression() = default;
|
|
||||||
|
|
||||||
friend std::ostream& operator<<(std::ostream& out, ITransientExpression const& expr) {
|
friend std::ostream& operator<<(std::ostream& out, ITransientExpression const& expr) {
|
||||||
expr.streamReconstructedExpression(out);
|
expr.streamReconstructedExpression(out);
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
~ITransientExpression() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs );
|
void formatReconstructedExpression( std::ostream &os, std::string const& lhs, StringRef op, std::string const& rhs );
|
||||||
|
@@ -20,7 +20,6 @@ CATCH_REGISTER_TAG_ALIAS("[@tricky]", "[tricky]~[.]")
|
|||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
# pragma clang diagnostic ignored "-Wpadded"
|
# pragma clang diagnostic ignored "-Wpadded"
|
||||||
# pragma clang diagnostic ignored "-Wweak-vtables"
|
# pragma clang diagnostic ignored "-Wweak-vtables"
|
||||||
# pragma clang diagnostic ignored "-Wc++98-compat"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -11,11 +11,6 @@
|
|||||||
#include <catch2/internal/catch_config_wchar.hpp>
|
#include <catch2/internal/catch_config_wchar.hpp>
|
||||||
#include <catch2/internal/catch_windows_h_proxy.hpp>
|
#include <catch2/internal/catch_windows_h_proxy.hpp>
|
||||||
|
|
||||||
#ifdef __clang__
|
|
||||||
# pragma clang diagnostic ignored "-Wc++98-compat"
|
|
||||||
# pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
Reference in New Issue
Block a user