summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-19 19:54:49 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-08-20 22:20:49 (GMT)
commitd331021255ba9092fa34e8e479d724b1092c704d (patch)
tree38158432b3bd50418635201d95ff0575b4e7ac78 /Source/cmAddCustomCommandCommand.cxx
parent43fe736b2bf272647fb24b481bdc9a585c0666ac (diff)
downloadCMake-d331021255ba9092fa34e8e479d724b1092c704d.zip
CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.gz
CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.bz2
clang-tidy: isolate declarations for readability
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index e502a64..11d28c2 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -33,10 +33,18 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
}
cmMakefile& mf = status.GetMakefile();
- std::string source, target, main_dependency, working, depfile, job_pool;
+ std::string source;
+ std::string target;
+ std::string main_dependency;
+ std::string working;
+ std::string depfile;
+ std::string job_pool;
std::string comment_buffer;
const char* comment = nullptr;
- std::vector<std::string> depends, outputs, output, byproducts;
+ std::vector<std::string> depends;
+ std::vector<std::string> outputs;
+ std::vector<std::string> output;
+ std::vector<std::string> byproducts;
bool verbatim = false;
bool append = false;
bool uses_terminal = false;