style: clang-format new rules applied to the code base

This commit is contained in:
Mateusz Pusz committed 2023-05-26 14:20:00 +02:00
1 parent 561fbf7c93
commit 52bbd00ab4
20 files changed
+78 -60

No files matched your search

+2 -2
View File
@@ -31,8 +31,8 @@ struct AlmostEqualsMatcher : Catch::Matchers::MatcherGenericBase {
AlmostEqualsMatcher(const T& target) : target_{target} {}
template<std::convertible_to<T> U>
requires std::same_as<typename T::rep, typename U::rep> && treat_as_floating_point<typename T::rep> bool
match(const U& other) const
requires std::same_as<typename T::rep, typename U::rep> && treat_as_floating_point<typename T::rep>
bool match(const U& other) const
{
using std::abs;
using common = std::common_type_t<T, U>;