Internals: Restyle with C++11 using replacing typedef

This commit is contained in:
Wilson Snyder
2021-03-12 18:10:45 -05:00
parent 404b323f8c
commit 3a55600913
76 changed files with 204 additions and 205 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ private:
// Map each varscope to one or more locations where it's accessed.
// These maps will not include any ASSIGNPOST accesses:
typedef std::unordered_map<const AstVarScope*, std::set<LifeLocation>> LocMap;
using LocMap = std::unordered_map<const AstVarScope*, std::set<LifeLocation>>;
LocMap m_reads; // VarScope read locations
LocMap m_writes; // VarScope write locations