Fixed clang-format target

This commit is contained in:
Bartek Kryza
2021-02-21 21:12:19 +01:00
parent 9e1d7786b9
commit 930ec99adc
2 changed files with 28 additions and 25 deletions

View File

@@ -47,3 +47,4 @@ test: debug
.PHONY: clang-format .PHONY: clang-format
clang-format: clang-format:
docker run --rm -v $(CURDIR):/root/sources bkryza/clang-format-check:1.2 docker run --rm -v $(CURDIR):/root/sources bkryza/clang-format-check:1.2
sudo chown -R $(shell id -u):$(shell id -g) src/*

View File

@@ -4632,10 +4632,12 @@ auto makeMatchExpr(ArgT const &arg, MatcherT const &matcher,
do { \ do { \
Catch::AssertionHandler catchAssertionHandler(macroName##_catch_sr, \ Catch::AssertionHandler catchAssertionHandler(macroName##_catch_sr, \
CATCH_INTERNAL_LINEINFO, \ CATCH_INTERNAL_LINEINFO, \
CATCH_INTERNAL_STRINGIFY(__VA_ARGS__) "," \ CATCH_INTERNAL_STRINGIFY( \
__VA_ARGS__) "," \
" " CATCH_INTERNAL_STRINGIFY( \ " " CATCH_INTERNAL_STRINGIFY( \
exceptionType) "," \ exceptionType) "," \
" " CATCH_INTERNAL_STRINGIFY(matcher), \ " " CATCH_INTERNAL_STRINGIFY( \
matcher), \
resultDisposition); \ resultDisposition); \
if (catchAssertionHandler.allowThrows()) \ if (catchAssertionHandler.allowThrows()) \
try { \ try { \