From 29b754be010fe794f056867d4b27bb3d6bc284a0 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 9 May 2020 18:11:12 -0700 Subject: [PATCH] [clang-tidy] add ending namespace comments Found with llvm-namespace-comment Signed-off-by: Rosen Penev --- include/cxxopts.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index c636030..e7b278b 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -62,7 +62,7 @@ namespace cxxopts CXXOPTS__VERSION_MINOR, CXXOPTS__VERSION_PATCH }; -} +} // namespace cxxopts //when we ask cxxopts to use Unicode, help strings are processed using ICU, //which results in the correct lengths being computed for strings when they @@ -260,7 +260,7 @@ namespace cxxopts { return s.empty(); } -} +} // namespace cxxopts //ifdef CXXOPTS_USE_UNICODE #endif @@ -276,7 +276,7 @@ namespace cxxopts const std::string LQUOTE("‘"); const std::string RQUOTE("’"); #endif - } + } // namespace class Value : public std::enable_shared_from_this { @@ -498,7 +498,7 @@ namespace cxxopts ("(t|T)(rue)?|1"); std::basic_regex falsy_pattern ("(f|F)(alse)?|0"); - } + } // namespace namespace detail { @@ -543,7 +543,7 @@ namespace cxxopts { SignedCheck::is_signed>()(negative, value, text); } - } + } // namespace detail template R @@ -963,7 +963,7 @@ namespace cxxopts m_implicit_value = "true"; } }; - } + } // namespace values template std::shared_ptr @@ -1573,7 +1573,7 @@ namespace cxxopts return result; } - } + } // namespace inline ParseResult::ParseResult @@ -2189,6 +2189,6 @@ Options::group_help(const std::string& group) const return m_help.at(group); } -} +} // namespace cxxopts #endif //CXXOPTS_HPP_INCLUDED