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

Method HeaderGuardAssistant

plugins/clang/duchain/headerguardassistant.cpp:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99};
100
101HeaderGuardAssistant::HeaderGuardAssistant(const CXTranslationUnit unit, const CXFile file)
102 : m_line(std::max(ClangUtils::skipTopCommentBlock(unit, file), 1u) - 1) // skip license etc
103 , m_path(QDir(ClangString(clang_getFileName(file)).toString()).canonicalPath())
104{
105}
106
107QString HeaderGuardAssistant::title() const
108{

Callers

nothing calls this directly

Calls 4

ClangStringClass · 0.85
canonicalPathMethod · 0.80
QDirClass · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected