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:
Regina Pfeifer
2019-09-04 18:03:01 +02:00
parent ee15bc7d7e
commit a1ddf2d0ba
85 changed files with 177 additions and 182 deletions
+2 -2
View File
@@ -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;
};