mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
clang-tidy: Replace typedef with using
This commit is contained in:
committed by
Brad King
parent
711e1c3ada
commit
62e5f72289
@@ -72,17 +72,17 @@ private:
|
||||
bool IsAlreadyLocked(const std::string& filename) const;
|
||||
|
||||
private:
|
||||
typedef std::vector<cmFileLock*> List;
|
||||
typedef List::iterator It;
|
||||
typedef List::const_iterator CIt;
|
||||
using List = std::vector<cmFileLock*>;
|
||||
using It = List::iterator;
|
||||
using CIt = List::const_iterator;
|
||||
|
||||
List Locks;
|
||||
};
|
||||
|
||||
typedef std::vector<ScopePool*> List;
|
||||
using List = std::vector<ScopePool*>;
|
||||
|
||||
typedef List::iterator It;
|
||||
typedef List::const_iterator CIt;
|
||||
using It = List::iterator;
|
||||
using CIt = List::const_iterator;
|
||||
|
||||
List FunctionScopes;
|
||||
List FileScopes;
|
||||
|
||||
Reference in New Issue
Block a user