style: Remove readability-identifier-naming where not needed (#2962)

This commit is contained in:
Ayaz Salikhov
2026-02-23 14:43:19 +00:00
committed by GitHub
parent c1f6a6eb31
commit e9052bcd80

View File

@@ -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