| 797 | } |
| 798 | |
| 799 | std::vector<int>::size_type cmCTestMemCheckHandler::FindOrAddWarning( |
| 800 | std::string const& warning) |
| 801 | { |
| 802 | for (std::vector<std::string>::size_type i = 0; |
| 803 | i < this->ResultStrings.size(); ++i) { |
| 804 | if (this->ResultStrings[i] == warning) { |
| 805 | return i; |
| 806 | } |
| 807 | } |
| 808 | this->GlobalResults.push_back(0); // this must stay the same size |
| 809 | this->ResultStrings.push_back(warning); |
| 810 | this->ResultStringsLong.push_back(warning); |
| 811 | return this->ResultStrings.size() - 1; |
| 812 | } |
| 813 | bool cmCTestMemCheckHandler::ProcessMemCheckSanitizerOutput( |
| 814 | std::string const& str, std::string& log, std::vector<int>& result) |
| 815 | { |
no test coverage detected