MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / clearContainers

Method clearContainers

src/Design/Design.cpp:525–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525void Design::clearContainers() {
526 m_moduleDefinitions.clear();
527
528 m_topLevelModuleInstances.clear();
529
530 m_defParams.clear();
531
532 m_packageDefinitions.clear();
533
534 // Do not clear, this is computed in a specific pass once
535 // m_orderedPackageDefinitions.clear();
536
537 m_programDefinitions.clear();
538
539 m_classDefinitions.clear();
540
541 m_uniqueClassDefinitions.clear();
542
543 m_orderedPackageNames.clear();
544}
545
546std::vector<BindStmt*> Design::getBindStmts(std::string_view targetName) {
547 std::vector<BindStmt*> results;

Callers 1

compilation_Method · 0.80

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected