| 30 | } |
| 31 | |
| 32 | ProblemModel::ProblemModel(Plugin* plugin) |
| 33 | : KDevelop::ProblemModel(plugin) |
| 34 | , m_plugin(plugin) |
| 35 | , m_project(nullptr) |
| 36 | , m_pathLocation(KDevelop::DocumentRange::invalid()) |
| 37 | { |
| 38 | setFeatures(CanDoFullUpdate | ScopeFilter | SeverityFilter | Grouping | CanByPassScopeFilter); |
| 39 | reset(); |
| 40 | problemModelSet()->addModel(Strings::problemModelId(), i18n("Cppcheck"), this); |
| 41 | } |
| 42 | |
| 43 | ProblemModel::~ProblemModel() |
| 44 | { |
nothing calls this directly
no test coverage detected