diff options
author | Brad King <brad.king@kitware.com> | 2019-08-22 14:23:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-08-22 14:23:34 (GMT) |
commit | 337be1507d0850c1d83de0f9ad87a780c9cb61af (patch) | |
tree | 8f6e685341766cc429b5120a1a120bbfaf9bbaea /Source/cmGeneratorTarget.cxx | |
parent | 6e1ff50efbc49628e7f9575b57128c0829bf607c (diff) | |
parent | d331021255ba9092fa34e8e479d724b1092c704d (diff) | |
download | CMake-337be1507d0850c1d83de0f9ad87a780c9cb61af.zip CMake-337be1507d0850c1d83de0f9ad87a780c9cb61af.tar.gz CMake-337be1507d0850c1d83de0f9ad87a780c9cb61af.tar.bz2 |
Merge topic 'isolate-declarations'
d331021255 clang-tidy: isolate declarations for readability
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3704
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 fd16dbf..e62b692 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; } |