Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/duchain/unknowndeclarationproblem.h
Show All 18 Lines | |||||
19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
20 | * | 20 | * | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | 23 | | |||
24 | #ifndef UNKNOWNDECLARATION_H | 24 | #ifndef UNKNOWNDECLARATION_H | ||
25 | #define UNKNOWNDECLARATION_H | 25 | #define UNKNOWNDECLARATION_H | ||
26 | 26 | | |||
27 | #include <duchain/clangduchainexport.h> | 27 | #include "clangprivateexport.h" | ||
28 | #include "clangproblem.h" | 28 | #include "clangproblem.h" | ||
29 | 29 | | |||
30 | #include <language/duchain/identifier.h> | 30 | #include <language/duchain/identifier.h> | ||
31 | 31 | | |||
32 | class KDEVCLANGDUCHAIN_EXPORT UnknownDeclarationProblem : public ClangProblem | 32 | class KDEVCLANGPRIVATE_EXPORT UnknownDeclarationProblem : public ClangProblem | ||
33 | { | 33 | { | ||
34 | public: | 34 | public: | ||
35 | using Ptr = QExplicitlySharedDataPointer<UnknownDeclarationProblem>; | 35 | using Ptr = QExplicitlySharedDataPointer<UnknownDeclarationProblem>; | ||
36 | using ConstPtr = QExplicitlySharedDataPointer<const UnknownDeclarationProblem>; | 36 | using ConstPtr = QExplicitlySharedDataPointer<const UnknownDeclarationProblem>; | ||
37 | 37 | | |||
38 | UnknownDeclarationProblem(CXDiagnostic diagnostic, CXTranslationUnit unit); | 38 | UnknownDeclarationProblem(CXDiagnostic diagnostic, CXTranslationUnit unit); | ||
39 | 39 | | |||
40 | void setSymbol(const KDevelop::QualifiedIdentifier& identifier); | 40 | void setSymbol(const KDevelop::QualifiedIdentifier& identifier); | ||
41 | 41 | | |||
42 | virtual KDevelop::IAssistant::Ptr solutionAssistant() const override; | 42 | virtual KDevelop::IAssistant::Ptr solutionAssistant() const override; | ||
43 | 43 | | |||
44 | private: | 44 | private: | ||
45 | KDevelop::QualifiedIdentifier m_identifier; | 45 | KDevelop::QualifiedIdentifier m_identifier; | ||
46 | }; | 46 | }; | ||
47 | 47 | | |||
48 | #endif // UNKNOWNDECLARATION_H | 48 | #endif // UNKNOWNDECLARATION_H |