aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangrefactoring/refactoringprojectupdater.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/4.10'Eike Ziller2019-06-181-3/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/consoleprocess.h src/libs/utils/consoleprocess_unix.cpp src/libs/utils/consoleprocess_win.cpp src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp src/tools/clangrefactoringbackend/source/symbolscollector.cpp tests/unit/mockup/projectexplorer/project.h Change-Id: I8d10f26b9bcb54829ba31cdc2272885691df1e16
| * Clang: Improve updatingMarco Bubke2019-06-171-3/+1
| | | | | | | | | | | | | | | | If project parts are up to date we send them directly to the indexer, so the indexer can decide we something needs an update. Change-Id: I7d4f32794c6b3a861cdefb3653a6dfd4e711f619 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | Enable macro editing for the Clang indexerMarco Bubke2019-06-131-2/+3
|/ | | | | | | | Refactor much of the code from Environment* classes to NameValue* classes to share it with the preprocessor macro settings. Change-Id: Ica4ee817aa338230c422b30d91240d266248d226 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Clang: Improve project part updatingMarco Bubke2019-04-011-7/+7
| | | | | | | | | | | | The project part ids are now already created very early in the database. This removes some checks because we can assume that an id already exists. The project part are now completely persistent, so we can read them from the database and compare them with new generated from a new creator session. This should help to not recreate the same PCH again and again. Task-number: QTCREATORBUG-21151 Change-Id: Iced818ff9f7431eaed3e37978087cc0a43b9afda Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* Clang: Add refactoring project updaterMarco Bubke2018-09-121-5/+22
| | | | | | | | 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>
* Clang: On the road to update and preprocessor supportMarco Bubke2018-01-291-1/+2
| | | | | | | | | | | | | | | | | 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>
* Clang: Add Symbol IndexingMarco Bubke2017-09-141-0/+41
It is a first step and now a database is generated if you start QtCreator. Some code is now shared with the PchManager which can be improved in the future. Change-Id: Ic267fe7960f6c455d91832859a673ce98f269aa2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>