MCPcopy Create free account
hub / github.com/Kitware/CMake / UpdateCombine

Method UpdateCombine

Source/cmDependsJavaParserHelper.cxx:309–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void 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
319int cmDependsJavaParserHelper::ParseFile(char const* file)
320{

Callers 1

yyparseFunction · 0.80

Calls 3

moveFunction · 0.85
cmStrCatFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected