mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50: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:
@@ -42,7 +42,7 @@ public:
|
||||
DataGroupCount
|
||||
};
|
||||
|
||||
typedef std::bitset<DataGroupCount> DataGroupSet;
|
||||
using DataGroupSet = std::bitset<DataGroupCount>;
|
||||
|
||||
static const DataGroupSet DataGroupProjects;
|
||||
static const DataGroupSet DataGroupProjectDependencies;
|
||||
|
||||
Reference in New Issue
Block a user