diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-07-10 14:46:08 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-08-13 14:13:33 +0200 |
commit | 8ea14767af70f7c0c2e9940f018e7b17e6f00205 (patch) | |
tree | 469b7cc7f5af7c08350fffdc9724f31048665ec0 /tests/cppmodelmanager | |
parent | 74a94e656e8c4ee4176ef369919f1a786a07040f (diff) |
CppTools: Rework handling of ProjectInfo changes
(a) The code model manager figures out by itself which files were added
or removed from the project.
If this was done successfully, check also the timestamp of the
common files and reindex if necessary.
(b) A full reindexing is only triggered if the project configuration
changes (defines, includes, framework paths).
(c) If project files were removed, the garbage collector is called.
Task-number: QTCREATORBUG-9730
Change-Id: Ib855614b070880576233a3525813617c967a72f3
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'tests/cppmodelmanager')
-rw-r--r-- | tests/cppmodelmanager/testdata_refresh2/source.cpp | 1 | ||||
-rw-r--r-- | tests/cppmodelmanager/testdata_refresh2/source2.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/cppmodelmanager/testdata_refresh2/source.cpp b/tests/cppmodelmanager/testdata_refresh2/source.cpp new file mode 100644 index 0000000000..d459c19d5e --- /dev/null +++ b/tests/cppmodelmanager/testdata_refresh2/source.cpp @@ -0,0 +1 @@ +int someGlobal; diff --git a/tests/cppmodelmanager/testdata_refresh2/source2.cpp b/tests/cppmodelmanager/testdata_refresh2/source2.cpp new file mode 100644 index 0000000000..45b1467315 --- /dev/null +++ b/tests/cppmodelmanager/testdata_refresh2/source2.cpp @@ -0,0 +1 @@ +int f() {} |