Fixed formatting

This commit is contained in:
Bartek Kryza
2022-01-22 23:36:15 +01:00
parent b931845ad0
commit 7f1db14e29
3 changed files with 34 additions and 32 deletions

View File

@@ -79,8 +79,7 @@ std::string generator::name(relationship_t r) const
} }
} }
void generator::generate( void generator::generate(const package &p, std::ostream &ostr) const
const package &p, std::ostream &ostr) const
{ {
const auto uns = m_config.using_namespace; const auto uns = m_config.using_namespace;

View File

@@ -166,7 +166,8 @@ unsigned int rngSeed();
// Therefore, `CATCH_INTERNAL_IGNORE_BUT_WARN` is not implemented. // Therefore, `CATCH_INTERNAL_IGNORE_BUT_WARN` is not implemented.
#if !defined(__ibmxl__) && !defined(__CUDACC__) #if !defined(__ibmxl__) && !defined(__CUDACC__)
#define CATCH_INTERNAL_IGNORE_BUT_WARN(...) \ #define CATCH_INTERNAL_IGNORE_BUT_WARN(...) \
(void)__builtin_constant_p(__VA_ARGS__) /* NOLINT(cppcoreguidelines-pro-type-vararg, \ (void)__builtin_constant_p( \
__VA_ARGS__) /* NOLINT(cppcoreguidelines-pro-type-vararg, \
hicpp-vararg) */ hicpp-vararg) */
#endif #endif
@@ -4653,10 +4654,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 { \