mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
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.
This commit is contained in:
@@ -446,10 +446,10 @@ protected:
|
||||
cmsys::RegularExpression IncludeFileRegularExpression;
|
||||
cmsys::RegularExpression ComplainFileRegularExpression;
|
||||
std::vector<std::string> IncludeDirectories;
|
||||
typedef std::map<std::string, std::string> FileToPathMapType;
|
||||
typedef std::map<std::string, FileToPathMapType>
|
||||
DirectoryToFileToPathMapType;
|
||||
typedef std::map<std::string, cmDependInformation*> DependInformationMapType;
|
||||
using FileToPathMapType = std::map<std::string, std::string>;
|
||||
using DirectoryToFileToPathMapType =
|
||||
std::map<std::string, FileToPathMapType>;
|
||||
using DependInformationMapType = std::map<std::string, cmDependInformation*>;
|
||||
DependInformationMapType DependInformationMap;
|
||||
DirectoryToFileToPathMapType DirectoryToFileToPathMap;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user