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

Method addInstanceUseClause

src/Config/Config.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void Config::addInstanceUseClause(std::string_view instance,
40 const UseClause& use) {
41 auto previous = m_instanceUseClauses.find(instance);
42 if (previous != m_instanceUseClauses.end()) {
43 m_instanceUseClauses.erase(previous);
44 }
45
46 m_instanceUseClauses.emplace(instance, use);
47}
48void Config::addCellUseClause(std::string_view cell, const UseClause& use) {
49 auto previous = m_cellUseClauses.find(cell);
50 if (previous != m_cellUseClauses.end()) {

Callers 1

parseConfigDefinitionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected