summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoMocUic.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-04 18:03:01 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-09-04 18:03:01 +0200
commita1ddf2d0ba6268e29a9456948828f59d044791f1 (patch)
treeb7046d67c6667c945e3683cf890d725c7123e2bd /Source/cmQtAutoMocUic.h
parentee15bc7d7e7707fd8d7db92645c2c56a5df0f681 (diff)
downloadcmake-a1ddf2d0ba6268e29a9456948828f59d044791f1.tar.gz
clang-tidy: Replace typedef with using
Automate the conversion with perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g' then manually fix a few places.
Diffstat (limited to 'Source/cmQtAutoMocUic.h')
-rw-r--r--Source/cmQtAutoMocUic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoMocUic.h b/Source/cmQtAutoMocUic.h
index 076e46087c..549b088d7d 100644
--- a/Source/cmQtAutoMocUic.h
+++ b/Source/cmQtAutoMocUic.h
@@ -107,7 +107,7 @@ public:
} Uic;
};
using FileHandleT = std::shared_ptr<FileT>;
- typedef std::pair<FileHandleT, bool> GetOrInsertT;
+ using GetOrInsertT = std::pair<FileHandleT, bool>;
public:
ParseCacheT();
@@ -147,7 +147,7 @@ public:
bool Uic = false;
};
using SourceFileHandleT = std::shared_ptr<SourceFileT>;
- typedef std::map<std::string, SourceFileHandleT> SourceFileMapT;
+ using SourceFileMapT = std::map<std::string, SourceFileHandleT>;
/**
* Meta compiler file mapping information
@@ -160,7 +160,7 @@ public:
std::vector<SourceFileHandleT> IncluderFiles;
};
using MappingHandleT = std::shared_ptr<MappingT>;
- typedef std::map<std::string, MappingHandleT> MappingMapT;
+ using MappingMapT = std::map<std::string, MappingHandleT>;
/**
* Common settings