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
+1 -1
View File
@@ -333,7 +333,7 @@ void cmExtraCodeBlocksGenerator::CreateNewProjectFile(
// Collect all used source files in the project.
// Keep a list of C/C++ source files which might have an accompanying header
// that should be looked for.
typedef std::map<std::string, CbpUnit> all_files_map_t;
using all_files_map_t = std::map<std::string, CbpUnit>;
all_files_map_t allFiles;
std::vector<std::string> cFiles;