| 1335 | } |
| 1336 | |
| 1337 | Json::Value BacktraceData::Dump() |
| 1338 | { |
| 1339 | Json::Value backtraceGraph; |
| 1340 | this->CommandMap.clear(); |
| 1341 | this->FileMap.clear(); |
| 1342 | this->NodeMap.clear(); |
| 1343 | backtraceGraph["commands"] = std::move(this->Commands); |
| 1344 | backtraceGraph["files"] = std::move(this->Files); |
| 1345 | backtraceGraph["nodes"] = std::move(this->Nodes); |
| 1346 | return backtraceGraph; |
| 1347 | } |
| 1348 | |
| 1349 | static void AddBacktrace(BacktraceData& backtraceGraph, Json::Value& object, |
| 1350 | cmListFileBacktrace const& bt) |
no test coverage detected