| 2115 | } |
| 2116 | |
| 2117 | int cmCTestCoverageHandler::GetLabelId(std::string const& label) |
| 2118 | { |
| 2119 | auto i = this->LabelIdMap.find(label); |
| 2120 | if (i == this->LabelIdMap.end()) { |
| 2121 | int n = static_cast<int>(this->Labels.size()); |
| 2122 | this->Labels.push_back(label); |
| 2123 | LabelIdMapType::value_type entry(label, n); |
| 2124 | i = this->LabelIdMap.insert(entry).first; |
| 2125 | } |
| 2126 | return i->second; |
| 2127 | } |
| 2128 | |
| 2129 | void cmCTestCoverageHandler::LoadLabels() |
| 2130 | { |
no test coverage detected