forked from qt-creator/qt-creator
ClangCodeModel: Fix build with namespaced Qt.
Change-Id: I8a8e92e9bbd441bac1b305248034f31e7a2ad5d7 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
fa0bc96667
commit
72a34d8359
@@ -46,6 +46,7 @@ using namespace ClangCodeModel::Internal::Tests;
|
|||||||
|
|
||||||
Q_DECLARE_METATYPE(ClangCodeModel::Internal::ClangCompletionContextAnalyzer::CompletionAction)
|
Q_DECLARE_METATYPE(ClangCodeModel::Internal::ClangCompletionContextAnalyzer::CompletionAction)
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
namespace QTest {
|
namespace QTest {
|
||||||
|
|
||||||
template<> char *toString(const ClangCompletionContextAnalyzer::CompletionAction &action)
|
template<> char *toString(const ClangCompletionContextAnalyzer::CompletionAction &action)
|
||||||
@@ -72,6 +73,7 @@ template<> char *toString(const ClangCompletionContextAnalyzer::CompletionAction
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace QTest
|
} // namespace QTest
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user