aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 19:26:04 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 19:26:04 +0200
commit9991c3526cd0d4a773e17064327fd41fd091129d (patch)
tree36567562f8be540fb1bfbf8fb8d102a72a5eccf2 /include/winapi
parentupgrade winapi-common (diff)
downloadwinapi-debug-9991c3526cd0d4a773e17064327fd41fd091129d.tar.gz
winapi-debug-9991c3526cd0d4a773e17064327fd41fd091129d.zip
finally, perfect .clang-format settings?
Diffstat (limited to 'include/winapi')
-rw-r--r--include/winapi/debug/call_stack.hpp6
-rw-r--r--include/winapi/debug/symbol.hpp6
2 files changed, 8 insertions, 4 deletions
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<Tag>(SymTagFunction) == SYM_TAG_FUNCTION,
- "unexpected SymTagFunction value");
+static_assert(
+ static_cast<Tag>(SymTagFunction) == SYM_TAG_FUNCTION,
+ "unexpected SymTagFunction value"
+);
#endif
} // namespace symbol