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

Method addDiagnostic

kdevplatform/language/duchain/problem.cpp:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void Problem::addDiagnostic(const IProblem::Ptr& diagnostic)
130{
131 auto* problem = dynamic_cast<Problem*>(diagnostic.data());
132 Q_ASSERT(problem != nullptr);
133
134 ProblemPointer ptr(problem);
135
136 m_diagnostics << ptr;
137}
138
139QString Problem::description() const
140{

Callers 1

Calls 1

dataMethod · 0.45

Tested by 1