Changeset View
Changeset View
Standalone View
Standalone View
plugins/clang/duchain/clangproblem.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | |||||
66 | using ClangFixits = QVector<ClangFixit>; | 66 | using ClangFixits = QVector<ClangFixit>; | ||
67 | 67 | | |||
68 | class KDEVCLANGPRIVATE_EXPORT ClangProblem : public KDevelop::Problem | 68 | class KDEVCLANGPRIVATE_EXPORT ClangProblem : public KDevelop::Problem | ||
69 | { | 69 | { | ||
70 | public: | 70 | public: | ||
71 | using Ptr = QExplicitlySharedDataPointer<ClangProblem>; | 71 | using Ptr = QExplicitlySharedDataPointer<ClangProblem>; | ||
72 | using ConstPtr = QExplicitlySharedDataPointer<const ClangProblem>; | 72 | using ConstPtr = QExplicitlySharedDataPointer<const ClangProblem>; | ||
73 | 73 | | |||
74 | // Creates an empty ClangProblem. | ||||
75 | ClangProblem(); | ||||
76 | | ||||
74 | /** | 77 | /** | ||
75 | * Import @p diagnostic into a ClangProblem object | 78 | * Import @p diagnostic into a ClangProblem object | ||
76 | * | 79 | * | ||
77 | * @param[in] diagnostic To-be-imported clang diagnostic | 80 | * @param[in] diagnostic To-be-imported clang diagnostic | ||
78 | */ | 81 | */ | ||
79 | ClangProblem(CXDiagnostic diagnostic, CXTranslationUnit unit); | 82 | ClangProblem(CXDiagnostic diagnostic, CXTranslationUnit unit); | ||
80 | 83 | | |||
81 | KDevelop::IAssistant::Ptr solutionAssistant() const override; | 84 | KDevelop::IAssistant::Ptr solutionAssistant() const override; | ||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |