Skip to content

Commit 6938a2f

Browse files
committed
style: Remove readability-identifier-naming where not needed
1 parent c1f6a6e commit 6938a2f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/util/build/Build.cpp

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,37 +44,36 @@ static constexpr char kBUILD_DATE[] = BUILD_DATE;
4444
std::string const&
4545
getClioVersionString()
4646
{
47-
static std::string const value = kVERSION_STRING; // NOLINT(readability-identifier-naming)
48-
return value;
47+
static std::string const kVALUE = kVERSION_STRING;
48+
return kVALUE;
4949
}
5050

5151
std::string const&
5252
getClioFullVersionString()
5353
{
54-
static std::string const kVALUE =
55-
"clio-" + getClioVersionString(); // NOLINT(readability-identifier-naming)
54+
static std::string const kVALUE = "clio-" + getClioVersionString();
5655
return kVALUE;
5756
}
5857

5958
std::string const&
6059
getGitCommitHash()
6160
{
62-
static std::string const value = kGIT_COMMIT_HASH; // NOLINT(readability-identifier-naming)
63-
return value;
61+
static std::string const kVALUE = kGIT_COMMIT_HASH;
62+
return kVALUE;
6463
}
6564

6665
std::string const&
6766
getGitBuildBranch()
6867
{
69-
static std::string const value = kGIT_BUILD_BRANCH; // NOLINT(readability-identifier-naming)
70-
return value;
68+
static std::string const kVALUE = kGIT_BUILD_BRANCH;
69+
return kVALUE;
7170
}
7271

7372
std::string const&
7473
getBuildDate()
7574
{
76-
static std::string const value = kBUILD_DATE; // NOLINT(readability-identifier-naming)
77-
return value;
75+
static std::string const kVALUE = kBUILD_DATE;
76+
return kVALUE;
7877
}
7978

8079
} // namespace util::build

0 commit comments

Comments
 (0)