From 6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 12 Jun 2026 17:49:43 +0200 Subject: unify my .clang-format files --- include/winapi/cmd_line.hpp | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'include/winapi/cmd_line.hpp') diff --git a/include/winapi/cmd_line.hpp b/include/winapi/cmd_line.hpp index af83cac..97ca50f 100644 --- a/include/winapi/cmd_line.hpp +++ b/include/winapi/cmd_line.hpp @@ -85,16 +85,22 @@ public: * Get argv[0] for this command line. * @return UTF-8 string. */ - std::string get_argv0() const { return m_argv0; } + std::string get_argv0() const { + return m_argv0; + } /** Test if this command line has any additional arguments besides argv[0]. */ - bool has_args() const { return !get_args().empty(); } + bool has_args() const { + return !get_args().empty(); + } /** * Get list of arguments for this command line beyond argv[0]. * @return List of UTF-8 strings. */ - const std::vector& get_args() const { return m_args; } + const std::vector& get_args() const { + return m_args; + } /** * Get list of arguments for this command line. @@ -103,9 +109,13 @@ public: std::vector get_argv() const; private: - static constexpr char token_sep() { return ' '; } + static constexpr char token_sep() { + return ' '; + } - std::string escape_argv0() const { return escape(get_argv0()); } + std::string escape_argv0() const { + return escape(get_argv0()); + } std::vector escape_args() const; -- cgit v1.3