mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Restyle with C++11 using replacing typedef
This commit is contained in:
+2
-2
@@ -69,12 +69,12 @@ private:
|
||||
AstNodeModule* m_modp = nullptr; // Current module
|
||||
VDouble0 m_statUnsup; // Statistic tracking
|
||||
|
||||
typedef std::vector<AstNodeModule*> ModVec;
|
||||
using ModVec = std::vector<AstNodeModule*>;
|
||||
ModVec m_allMods; // All modules, in top-down order.
|
||||
|
||||
// Within the context of a given module, LocalInstanceMap maps
|
||||
// from child modules to the count of each child's local instantiations.
|
||||
typedef std::unordered_map<AstNodeModule*, int> LocalInstanceMap;
|
||||
using LocalInstanceMap = std::unordered_map<AstNodeModule*, int>;
|
||||
|
||||
// We keep a LocalInstanceMap for each module in the design
|
||||
std::unordered_map<AstNodeModule*, LocalInstanceMap> m_instances;
|
||||
|
||||
Reference in New Issue
Block a user