mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user