From eba873815bbb803fb298e3fb07502d22e3c5df6e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 12 Jun 2026 22:59:04 +0200 Subject: unify my .clang-format files --- utils/command_line.hpp | 8 ++++++-- utils/enum_symbols.cpp | 12 +++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'utils') diff --git a/utils/command_line.hpp b/utils/command_line.hpp index ebed79e..d3178f1 100644 --- a/utils/command_line.hpp +++ b/utils/command_line.hpp @@ -22,7 +22,9 @@ public: virtual ~SettingsParser() = default; - virtual const char* get_short_description() const { return "[--option VALUE]..."; } + virtual const char* get_short_description() const { + return "[--option VALUE]..."; + } virtual void parse(int argc, char* argv[]) { boost::program_options::options_description all; @@ -41,7 +43,9 @@ public: bool exit_with_usage = false; - void usage() const { std::cout << *this; } + void usage() const { + std::cout << *this; + } void usage_error(const std::exception& e) const { std::cerr << std::format("usage error: {}\n", e.what()); diff --git a/utils/enum_symbols.cpp b/utils/enum_symbols.cpp index 574f0d0..645bc13 100644 --- a/utils/enum_symbols.cpp +++ b/utils/enum_symbols.cpp @@ -38,11 +38,17 @@ public: std::vector pdbs; - bool type_specified() const { return tag != reserved_tag; } + bool type_specified() const { + return tag != reserved_tag; + } - winapi::Symbol::Type get_type() const { return static_cast(tag); } + winapi::Symbol::Type get_type() const { + return static_cast(tag); + } - std::string get_mask() const { return symbol_mask; } + std::string get_mask() const { + return symbol_mask; + } private: static constexpr auto reserved_tag = -- cgit v1.3