diff --git a/Makefile b/Makefile index f429b8a7..8135a982 100644 --- a/Makefile +++ b/Makefile @@ -114,11 +114,11 @@ init_compile_commands: debug .PHONY: clang-format clang-format: - docker run --rm -v $(CURDIR):/root/sources bkryza/clang-format-check:1.3 + docker run --rm -v $(CURDIR):/root/sources bkryza/clang-format-check:1.4 .PHONY: format format: - docker run --rm -v $(CURDIR):/root/sources bkryza/clang-format-check:1.3 + docker run --rm -v $(CURDIR):/root/sources bkryza/clang-format-check:1.4 .PHONY: debug_tidy tidy: debug_tidy diff --git a/tests/catch.h b/tests/catch.h index 90d8fe9a..c3237aad 100644 --- a/tests/catch.h +++ b/tests/catch.h @@ -532,8 +532,7 @@ unsigned int rngSeed(); // We need a dummy global operator<< so we can bring it into Catch namespace // later -struct Catch_global_namespace_dummy { -}; +struct Catch_global_namespace_dummy { }; std::ostream &operator<<(std::ostream &, Catch_global_namespace_dummy); namespace Catch { @@ -914,17 +913,15 @@ constexpr auto operator"" _catch_sr( N #define INTERNAL_CATCH_TYPE_GEN \ - template struct TypeList { \ - }; \ + template struct TypeList { }; \ template \ - constexpr auto get_wrapper() noexcept->TypeList \ + constexpr auto get_wrapper() noexcept -> TypeList \ { \ return {}; \ } \ - template