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

Method splitPlusArg_

src/CommandLine/CommandLineParser.cpp:499–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void CommandLineParser::splitPlusArg_(std::string_view s,
500 std::string_view prefix,
501 SymbolIdVector& container) {
502 std::istringstream f((std::string(s)));
503 std::string tmp;
504 while (std::getline(f, tmp, '+')) {
505 if (!tmp.empty() && (tmp != prefix)) {
506 SymbolId id = m_symbolTable->registerSymbol(tmp);
507 container.push_back(id);
508 }
509 }
510}
511
512void CommandLineParser::splitEqArg_(
513 std::string_view s,

Callers

nothing calls this directly

Calls 1

registerSymbolMethod · 0.45

Tested by

no test coverage detected