From a1ddf2d0ba6268e29a9456948828f59d044791f1 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Wed, 4 Sep 2019 18:03:01 +0200 Subject: 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. --- Source/cmQtAutoMocUic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/cmQtAutoMocUic.h') 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; - typedef std::pair GetOrInsertT; + using GetOrInsertT = std::pair; public: ParseCacheT(); @@ -147,7 +147,7 @@ public: bool Uic = false; }; using SourceFileHandleT = std::shared_ptr; - typedef std::map SourceFileMapT; + using SourceFileMapT = std::map; /** * Meta compiler file mapping information @@ -160,7 +160,7 @@ public: std::vector IncluderFiles; }; using MappingHandleT = std::shared_ptr; - typedef std::map MappingMapT; + using MappingMapT = std::map; /** * Common settings -- cgit v1.2.1