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

Method sourceString

kdevplatform/language/duchain/problem.cpp:199–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199QString Problem::sourceString() const
200{
201 switch (source()) {
202 case IProblem::Disk:
203 return i18n("Disk");
204 case IProblem::Preprocessor:
205 return i18n("Preprocessor");
206 case IProblem::Lexer:
207 return i18n("Lexer");
208 case IProblem::Parser:
209 return i18n("Parser");
210 case IProblem::DUChainBuilder:
211 return i18n("Definition-Use Chain");
212 case IProblem::SemanticAnalysis:
213 return i18n("Semantic analysis");
214 case IProblem::ToDo:
215 return i18n("To-do");
216 case IProblem::Unknown:
217 default:
218 return i18n("Unknown");
219 }
220}
221
222QString Problem::toString() const
223{

Callers 2

htmlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected