summaryrefslogtreecommitdiff
path: root/Source/cmUseMangledMesaCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-19 21:54:49 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-08-21 00:20:49 +0200
commitd331021255ba9092fa34e8e479d724b1092c704d (patch)
tree38158432b3bd50418635201d95ff0575b4e7ac78 /Source/cmUseMangledMesaCommand.cxx
parent43fe736b2bf272647fb24b481bdc9a585c0666ac (diff)
downloadcmake-d331021255ba9092fa34e8e479d724b1092c704d.tar.gz
clang-tidy: isolate declarations for readability
Diffstat (limited to 'Source/cmUseMangledMesaCommand.cxx')
-rw-r--r--Source/cmUseMangledMesaCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUseMangledMesaCommand.cxx b/Source/cmUseMangledMesaCommand.cxx
index 43581947ce..2b553b05a7 100644
--- a/Source/cmUseMangledMesaCommand.cxx
+++ b/Source/cmUseMangledMesaCommand.cxx
@@ -51,7 +51,8 @@ bool cmUseMangledMesaCommand::InitialPass(std::vector<std::string> const& args,
void cmUseMangledMesaCommand::CopyAndFullPathMesaHeader(
const std::string& source, const std::string& outdir)
{
- std::string dir, file;
+ std::string dir;
+ std::string file;
cmSystemTools::SplitProgramPath(source, dir, file);
std::string outFile = outdir;
outFile += "/";