diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-19 19:54:49 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-20 22:20:49 (GMT) |
commit | d331021255ba9092fa34e8e479d724b1092c704d (patch) | |
tree | 38158432b3bd50418635201d95ff0575b4e7ac78 /Source/cmGeneratorTarget.cxx | |
parent | 43fe736b2bf272647fb24b481bdc9a585c0666ac (diff) | |
download | CMake-d331021255ba9092fa34e8e479d724b1092c704d.zip CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.gz CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.bz2 |
clang-tidy: isolate declarations for readability
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 4dd1e5b..750644d 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -526,7 +526,9 @@ std::string cmGeneratorTarget::GetFilePrefix( return prefix ? prefix : std::string(); } - std::string prefix, suffix, base; + std::string prefix; + std::string suffix; + std::string base; this->GetFullNameInternal(config, artifact, prefix, base, suffix); return prefix; } @@ -539,7 +541,9 @@ std::string cmGeneratorTarget::GetFileSuffix( return suffix ? suffix : std::string(); } - std::string prefix, suffix, base; + std::string prefix; + std::string suffix; + std::string base; this->GetFullNameInternal(config, artifact, prefix, base, suffix); return suffix; } |