MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / foreach

Function foreach

src/tools/debugadapter/dapsession.cpp:347–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 arguments.push_back(request.program.value().c_str());
346 if (request.args.has_value()) {
347 foreach (auto arg, request.args.value()) {
348 arguments.push_back(arg.c_str());
349 }
350 // --args : add arguments for gdb. except : rr, runcoredump
351 if (request.name.value() != "rr" && arguments.size() >= 2 && !(arguments.size() == 2 && arguments.last().endsWith(".core")))
352 arguments.insert(0, "--args");

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected