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

Method GetClangTidyReplacementsFilePath

Source/cmFastbuildTargetGenerator.cxx:797–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795}
796
797std::string cmFastbuildTargetGenerator::GetClangTidyReplacementsFilePath(
798 std::string const& directory, cmSourceFile const& source,
799 std::string const& /*config*/) const
800{
801
802 std::string objectDir =
803 this->ConvertToFastbuildPath(this->GeneratorTarget->GetSupportDirectory());
804 std::string const& objectName =
805 this->GeneratorTarget->GetObjectName(&source);
806 std::string path =
807 cmStrCat(directory, '/', objectDir, '/', objectName, ".yaml");
808 LogMessage("ClangTidy replacements file: " + path);
809 return path;
810}
811
812void cmFastbuildTargetGenerator::AddIncludeFlags(std::string& languageFlags,
813 std::string const& language,

Callers

nothing calls this directly

Calls 3

GetSupportDirectoryMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected