forked from qt-creator/qt-creator
Clang: Use completion through backend process
This makes us independent of libclang crashes for completion.
Re-parsing for highlighting still happens in the Qt Creator process.
Run in verbose mode:
qtc.clangcodemodel.ipc=true
Run tests:
-test "ClangCodeModel"
Task-number: QTCREATORBUG-14108
Task-number: QTCREATORBUG-12819
Change-Id: Id3e95bd2afdb6508bbd1d35fddc69534a909b905
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -54,12 +54,14 @@ public:
|
||||
void extensionsInitialized();
|
||||
|
||||
private:
|
||||
QScopedPointer<ModelManagerSupport> m_modelManagerSupport;
|
||||
ModelManagerSupportProviderClang m_modelManagerSupportProvider;
|
||||
#ifdef CLANG_INDEXING
|
||||
QScopedPointer<ClangIndexer> m_indexer;
|
||||
#endif // CLANG_INDEXING
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
QList<QObject *> createTestObjects() const;
|
||||
|
||||
private slots:
|
||||
void test_CXX_regressions();
|
||||
void test_CXX_regressions_data();
|
||||
|
||||
Reference in New Issue
Block a user