aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/debug/call_stack.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
commiteba873815bbb803fb298e3fb07502d22e3c5df6e (patch)
tree47794c27c6a4c1245b6ae14024dcf0f068605209 /include/winapi/debug/call_stack.hpp
parentcmake: use CONFIGURE_DEPENDS (diff)
downloadwinapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.tar.gz
winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.zip
unify my .clang-format files
Diffstat (limited to '')
-rw-r--r--include/winapi/debug/call_stack.hpp23
1 files changed, 18 insertions, 5 deletions
diff --git a/include/winapi/debug/call_stack.hpp b/include/winapi/debug/call_stack.hpp
index a9a9d43..caa9226 100644
--- a/include/winapi/debug/call_stack.hpp
+++ b/include/winapi/debug/call_stack.hpp
@@ -38,12 +38,25 @@ public:
void dump(std::ostream& os, const DbgHelp&) const;
- std::size_t length() const { return _length; }
+ std::size_t length() const {
+ return _length;
+ }
- const Address* begin() const { return frames.data(); }
- const Address* cbegin() const { return begin(); }
- const Address* end() const { return begin() + _length; }
- const Address* cend() const { return end(); }
+ const Address* begin() const {
+ return frames.data();
+ }
+
+ const Address* cbegin() const {
+ return begin();
+ }
+
+ const Address* end() const {
+ return begin() + _length;
+ }
+
+ const Address* cend() const {
+ return end();
+ }
private:
CallStack() = default;