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

Method Error

Source/cmQtAutoGenerator.cxx:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void cmQtAutoGenerator::Logger::Error(GenT genType,
90 cm::string_view message) const
91{
92 std::string msg =
93 cmStrCat('\n', HeadLine(cmStrCat(GeneratorName(genType), " error")),
94 message, cmHasSuffix(message, '\n') ? "\n" : "\n\n");
95 {
96 std::lock_guard<std::mutex> lock(this->Mutex_);
97 cmSystemTools::Stderr(msg);
98 }
99}
100
101void cmQtAutoGenerator::Logger::ErrorCommand(
102 GenT genType, cm::string_view message,

Callers 2

LogErrorMethod · 0.45
RunMethod · 0.45

Calls 2

cmHasSuffixFunction · 0.85
cmStrCatFunction · 0.70

Tested by

no test coverage detected