| 307 | } |
| 308 | |
| 309 | void cmDependsJavaParserHelper::UpdateCombine(char const* str1, |
| 310 | char const* str2) |
| 311 | { |
| 312 | if (this->CurrentCombine.empty() && str1) { |
| 313 | // We can reuse allocated memory from `this->CurrentCombine` |
| 314 | this->CurrentCombine = cmStrCat(std::move(this->CurrentCombine), str1); |
| 315 | } |
| 316 | this->CurrentCombine = cmStrCat(std::move(this->CurrentCombine), '.', str2); |
| 317 | } |
| 318 | |
| 319 | int cmDependsJavaParserHelper::ParseFile(char const* file) |
| 320 | { |