summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-23 21:25:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-03 17:21:26 (GMT)
commit62e5f722899cfa7c51791be7697c9030aee3a19b (patch)
treeafbde974693e3473db968a5b4a50fe9126e71d14 /Source/CPack
parent711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff)
downloadCMake-62e5f722899cfa7c51791be7697c9030aee3a19b.zip
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.bz2
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackFreeBSDGenerator.cxx2
-rw-r--r--Source/CPack/cpack.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackFreeBSDGenerator.cxx b/Source/CPack/cmCPackFreeBSDGenerator.cxx
index a35977c..bbba8a1 100644
--- a/Source/CPack/cmCPackFreeBSDGenerator.cxx
+++ b/Source/CPack/cmCPackFreeBSDGenerator.cxx
@@ -131,7 +131,7 @@ public:
class ManifestKeyListValue : public ManifestKey
{
public:
- typedef std::vector<std::string> VList;
+ using VList = std::vector<std::string>;
VList value;
ManifestKeyListValue(const std::string& k)
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 69dac88..b4b320d 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -157,7 +157,7 @@ int main(int argc, char const* const* argv)
cmsys::CommandLineArguments arg;
arg.Initialize(argc, argv);
- typedef cmsys::CommandLineArguments argT;
+ using argT = cmsys::CommandLineArguments;
// Help arguments
arg.AddArgument("--help", argT::NO_ARGUMENT, &help, "CPack help");
arg.AddArgument("--help-full", argT::SPACE_ARGUMENT, &helpFull,