aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangrefactoring/refactoringprojectupdater.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2018-01-22 14:21:01 +0100
committerMarco Bubke <marco.bubke@qt.io>2018-01-29 13:47:09 +0000
commit0f8befacd3b41c2b05da3881bcbf6a69ea8ba9fb (patch)
tree875ad183700aac1865dfc5ea2da9bc4f26d32cc5 /src/plugins/clangrefactoring/refactoringprojectupdater.h
parent3d2db474a4f629849383f105b205cece8142cfa4 (diff)
Clang: On the road to update and preprocessor support
This patch has grown in a quite big change set and it is really hard to divide it in different parts. V2::ProjectPartContainer is now using FileIds instead of file paths. This cleans code up because it is a big step in the direction that internally only file ids are used. But it is depending on the file cache, so the file cache has to be provided as an argument. There is now an interface for transactions too which are ease the testing of them and enables the support of preprocessor. It adds macros as symbols and is saving used macros. The used macro support is enabling update improvements because only if a changed macro is used it needs to be recompiled. This is still in flux and can be changed in later patches. Change-Id: I492a2c9af1201d40fdd9f46a0045f7878bbbaa3d Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/clangrefactoring/refactoringprojectupdater.h')
-rw-r--r--src/plugins/clangrefactoring/refactoringprojectupdater.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/clangrefactoring/refactoringprojectupdater.h b/src/plugins/clangrefactoring/refactoringprojectupdater.h
index 3debed0c4d..f8b771187e 100644
--- a/src/plugins/clangrefactoring/refactoringprojectupdater.h
+++ b/src/plugins/clangrefactoring/refactoringprojectupdater.h
@@ -35,7 +35,8 @@ class RefactoringProjectUpdater : public ClangPchManager::ProjectUpdater
{
public:
RefactoringProjectUpdater(ClangBackEnd::ProjectManagementServerInterface &server,
- RefactoringClient &client);
+ RefactoringClient &client,
+ ClangBackEnd::FilePathCachingInterface &filePathCache);
};
} // namespace ClangRefactoring