clang-tidy: Replace typedef with using

This commit is contained in:
Regina Pfeifer
2019-08-23 23:25:56 +02:00
committed by Brad King
parent 711e1c3ada
commit 62e5f72289
80 changed files with 164 additions and 162 deletions

View File

@@ -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;