From c593863f4f30e2298baf0105ce33ca6af766909c Mon Sep 17 00:00:00 2001 From: Aleksandr Semenov Date: Mon, 13 Mar 2023 07:15:21 +0300 Subject: [PATCH] Test clang-tidy-renamer Signed-off-by: Aleksandr Semenov --- util/ustring.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/ustring.h b/util/ustring.h index 08e7b59bd..1b8ef0a3a 100644 --- a/util/ustring.h +++ b/util/ustring.h @@ -199,7 +199,7 @@ public: private: template - char32_t DecodeCP([[maybe_unused]] size_t *cp_size) const; + char32_t DecodeCP([[maybe_unused]] size_t *CpSize) const; std::string_view sv_; mutable std::string_view::const_iterator iter_; @@ -330,7 +330,7 @@ protected: }; template -char32_t StringView::Iterator::DecodeCP([[maybe_unused]] size_t *cp_size) const +char32_t StringView::Iterator::DecodeCP([[maybe_unused]] size_t *CpSize) const { if (!HasNext()) { return INVALID_CP; @@ -371,7 +371,7 @@ char32_t StringView::Iterator::DecodeCP([[maybe_unused]] size_t *cp_size) const // NOLINTNEXTLINE(readability-braces-around-statements,bugprone-suspicious-semicolon) if constexpr (SET_CP_SIZE) { - *cp_size = iter_next - iter_; + *CpSize = iter_next - iter_; } return res; -- Gitee