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

Method addDiagnostic

kdevplatform/shell/problem.cpp:192–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void DetectedProblem::addDiagnostic(const Ptr &diagnostic)
193{
194 Q_D(DetectedProblem);
195
196 auto *dp = dynamic_cast<DetectedProblem*>(diagnostic.data());
197
198 Q_ASSERT(dp);
199
200 d->m_diagnostics.push_back(diagnostic);
201}
202
203void DetectedProblem::clearDiagnostics()
204{

Callers 4

generateProblemsMethod · 0.45
generateProblemsMethod · 0.45
testDiagnosticsMethod · 0.45
storeErrorMethod · 0.45

Calls 2

dataMethod · 0.45
push_backMethod · 0.45

Tested by 3

generateProblemsMethod · 0.36
generateProblemsMethod · 0.36
testDiagnosticsMethod · 0.36