summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLineDeviceComputer.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-04 12:52:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-04 12:52:45 (GMT)
commit7b50b05aa9f162388fc9f57899baffdafad7d4af (patch)
tree3a2f4776378fdc1cb09bdc78a4f145b03675b85a /Source/cmLinkLineDeviceComputer.cxx
parentefbd50383386c00cde63a7b67672b8487b00980f (diff)
parent62e5f722899cfa7c51791be7697c9030aee3a19b (diff)
downloadCMake-7b50b05aa9f162388fc9f57899baffdafad7d4af.zip
CMake-7b50b05aa9f162388fc9f57899baffdafad7d4af.tar.gz
CMake-7b50b05aa9f162388fc9f57899baffdafad7d4af.tar.bz2
Merge topic 'tidy-use-using'
62e5f72289 clang-tidy: Replace typedef with using Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3731
Diffstat (limited to 'Source/cmLinkLineDeviceComputer.cxx')
-rw-r--r--Source/cmLinkLineDeviceComputer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLinkLineDeviceComputer.cxx b/Source/cmLinkLineDeviceComputer.cxx
index 96af388..9c0e20f 100644
--- a/Source/cmLinkLineDeviceComputer.cxx
+++ b/Source/cmLinkLineDeviceComputer.cxx
@@ -51,7 +51,7 @@ bool cmLinkLineDeviceComputer::ComputeRequiresDeviceLinking(
{
// Determine if this item might requires device linking.
// For this we only consider targets
- typedef cmComputeLinkInformation::ItemVector ItemVector;
+ using ItemVector = cmComputeLinkInformation::ItemVector;
ItemVector const& items = cli.GetItems();
std::string config = cli.GetConfig();
for (auto const& item : items) {
@@ -78,7 +78,7 @@ std::string cmLinkLineDeviceComputer::ComputeLinkLibraries(
// with device symbols only needs to be listed once as it doesn't
// care about link order.
std::set<std::string> emitted;
- typedef cmComputeLinkInformation::ItemVector ItemVector;
+ using ItemVector = cmComputeLinkInformation::ItemVector;
ItemVector const& items = cli.GetItems();
std::string config = cli.GetConfig();
bool skipItemAfterFramework = false;