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

Method sourceString

kdevplatform/shell/problem.cpp:69–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69QString DetectedProblem::sourceString() const
70{
71 Q_D(const DetectedProblem);
72
73 switch(d->m_source)
74 {
75 case Unknown: return i18n("Unknown");
76 case Disk: return i18n("Disk");
77 case Preprocessor: return i18n("Preprocessor");
78 case Lexer: return i18n("Lexer");
79 case Parser: return i18n("Parser");
80 case DUChainBuilder: return i18n("DuchainBuilder");
81 case SemanticAnalysis: return i18n("Semantic analysis");
82 case ToDo: return i18n("Todo");
83 case Plugin: return d->m_pluginName;
84 }
85
86 return {};
87}
88
89DocumentRange DetectedProblem::finalLocation() const
90{

Callers 5

dataMethod · 0.45
checkDisplayMethod · 0.45
testSourceMethod · 0.45
testPluginNameMethod · 0.45
problemExistsMethod · 0.45

Calls

no outgoing calls

Tested by 3

checkDisplayMethod · 0.36
testSourceMethod · 0.36
testPluginNameMethod · 0.36