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

Method GetClangTidyReplacementsFilePath

Source/cmNinjaTargetGenerator.cxx:447–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447std::string cmNinjaTargetGenerator::GetClangTidyReplacementsFilePath(
448 std::string const& directory, cmSourceFile const& source,
449 std::string const& config) const
450{
451 auto const& objectName = this->GeneratorTarget->GetObjectName(&source);
452 return cmStrCat(directory, '/',
453 this->LocalGenerator->CreateSafeObjectFileName(
454 this->GetObjectFileDir(config)),
455 '/', objectName, ".yaml");
456}
457
458std::string cmNinjaTargetGenerator::GetPreprocessedFilePath(
459 cmSourceFile const* source, std::string const& config) const

Callers 2

Calls 3

GetObjectFileDirMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected