Clang: Add refactoring project updater

The project parts are now first used by the pch manager and then notified
by the pch manager to the refactoring plugin.

Change-Id: I88074d8891cd0de9721497bbafee0deffc0b6339
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-09-06 11:57:36 +02:00
parent 415fc654cc
commit e0b7a28333
15 changed files with 414 additions and 24 deletions

View File

@@ -27,6 +27,7 @@
#include "cpptools_global.h"
#include "cppmodelmanagerinterface.h"
#include "refactoringengineinterface.h"
#include "projectinfo.h"
#include "projectpart.h"
@@ -83,7 +84,8 @@ enum class RefactoringEngineType : int
};
class CPPTOOLS_EXPORT CppModelManager final : public CPlusPlus::CppModelManagerBase,
public RefactoringEngineInterface
public RefactoringEngineInterface,
public CppModelManagerInterface
{
Q_OBJECT