From e9052bcd8096aa1bda4d2c86537012b96cf85b2a Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 23 Feb 2026 14:43:19 +0000 Subject: [PATCH] style: Remove readability-identifier-naming where not needed (#2962) --- src/util/build/Build.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/util/build/Build.cpp b/src/util/build/Build.cpp index 16bfdd314..b94ae8cda 100644 --- a/src/util/build/Build.cpp +++ b/src/util/build/Build.cpp @@ -44,37 +44,36 @@ static constexpr char kBUILD_DATE[] = BUILD_DATE; std::string const& getClioVersionString() { - static std::string const value = kVERSION_STRING; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kVERSION_STRING; + return kVALUE; } std::string const& getClioFullVersionString() { - static std::string const kVALUE = - "clio-" + getClioVersionString(); // NOLINT(readability-identifier-naming) + static std::string const kVALUE = "clio-" + getClioVersionString(); return kVALUE; } std::string const& getGitCommitHash() { - static std::string const value = kGIT_COMMIT_HASH; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kGIT_COMMIT_HASH; + return kVALUE; } std::string const& getGitBuildBranch() { - static std::string const value = kGIT_BUILD_BRANCH; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kGIT_BUILD_BRANCH; + return kVALUE; } std::string const& getBuildDate() { - static std::string const value = kBUILD_DATE; // NOLINT(readability-identifier-naming) - return value; + static std::string const kVALUE = kBUILD_DATE; + return kVALUE; } } // namespace util::build