From 9991c3526cd0d4a773e17064327fd41fd091129d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 19:26:04 +0200 Subject: finally, perfect .clang-format settings? --- include/winapi/debug/call_stack.hpp | 6 ++++-- include/winapi/debug/symbol.hpp | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/winapi/debug/call_stack.hpp b/include/winapi/debug/call_stack.hpp index caa9226..1f53ded 100644 --- a/include/winapi/debug/call_stack.hpp +++ b/include/winapi/debug/call_stack.hpp @@ -26,8 +26,10 @@ public: // Imposed by CaptureStackBackTrace: static constexpr std::size_t max_length = 62; - static_assert(frames_to_skip + frames_to_capture <= max_length, - "Call stack length is too large"); + static_assert( + frames_to_skip + frames_to_capture <= max_length, + "Call stack length is too large" + ); static CallStack capture(); diff --git a/include/winapi/debug/symbol.hpp b/include/winapi/debug/symbol.hpp index cefb6c2..0320765 100644 --- a/include/winapi/debug/symbol.hpp +++ b/include/winapi/debug/symbol.hpp @@ -26,8 +26,10 @@ using Tag = ULONG; constexpr Tag SYM_TAG_FUNCTION = 5; #ifdef _MSC_VER -static_assert(static_cast(SymTagFunction) == SYM_TAG_FUNCTION, - "unexpected SymTagFunction value"); +static_assert( + static_cast(SymTagFunction) == SYM_TAG_FUNCTION, + "unexpected SymTagFunction value" +); #endif } // namespace symbol -- cgit v1.3