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

Method setDiagnostics

kdevplatform/shell/problem.cpp:183–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void DetectedProblem::setDiagnostics(const QVector<Ptr> &diagnostics)
184{
185 clearDiagnostics();
186
187 for (const Ptr& diagnostic : diagnostics) {
188 addDiagnostic(diagnostic);
189 }
190}
191
192void DetectedProblem::addDiagnostic(const Ptr &diagnostic)
193{

Callers 2

testDiagnosticsMethod · 0.45
createExternalProblemMethod · 0.45

Calls

no outgoing calls

Tested by 1

testDiagnosticsMethod · 0.36