Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/duchain/missingincludepathproblem.cpp
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | |||||
105 | }; | 105 | }; | ||
106 | 106 | | |||
107 | MissingIncludePathProblem::MissingIncludePathProblem(CXDiagnostic diagnostic, CXTranslationUnit unit) | 107 | MissingIncludePathProblem::MissingIncludePathProblem(CXDiagnostic diagnostic, CXTranslationUnit unit) | ||
108 | : ClangProblem(diagnostic, unit) | 108 | : ClangProblem(diagnostic, unit) | ||
109 | {} | 109 | {} | ||
110 | 110 | | |||
111 | KDevelop::IAssistant::Ptr MissingIncludePathProblem::solutionAssistant() const | 111 | KDevelop::IAssistant::Ptr MissingIncludePathProblem::solutionAssistant() const | ||
112 | { | 112 | { | ||
113 | return KDevelop::IAssistant::Ptr(new MissingIncludePathAssistant(description(), finalLocation().document)); | 113 | return KDevelop::IAssistant::Ptr(new MissingIncludePathAssistant( | ||
114 | description(), compilationUnit())); | ||||
114 | } | 115 | } | ||
115 | 116 | | |||
116 | #include "missingincludepathproblem.moc" | 117 | #include "missingincludepathproblem.moc" |