MCPcopy Create free account
hub / github.com/KDE/kdevelop / parentCMakeFile

Function parentCMakeFile

plugins/cmake/duchain/cmakeparsejob.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31IndexedString parentCMakeFile(const IndexedString& doc)
32{
33 return IndexedString(QUrl(KIO::upUrl(doc.toUrl().adjusted(QUrl::RemoveFilename)).toString()+QLatin1String("CMakeLists.txt")));
34}
35
36void CMakeParseJob::run(ThreadWeaver::JobPointer /*self*/, ThreadWeaver::Thread* /*thread*/)
37{

Callers 1

runMethod · 0.85

Calls 4

IndexedStringClass · 0.50
QUrlClass · 0.50
toStringMethod · 0.45
toUrlMethod · 0.45

Tested by

no test coverage detected