mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -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:
@@ -45,9 +45,9 @@ public:
|
||||
const std::string& projectRelativePath);
|
||||
|
||||
private:
|
||||
typedef std::map<std::string, cmSlnProjectEntry> ProjectStorage;
|
||||
using ProjectStorage = std::map<std::string, cmSlnProjectEntry>;
|
||||
ProjectStorage ProjectsByGUID;
|
||||
typedef std::map<std::string, ProjectStorage::iterator> ProjectStringIndex;
|
||||
using ProjectStringIndex = std::map<std::string, ProjectStorage::iterator>;
|
||||
ProjectStringIndex ProjectNameIndex;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user