diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-07-16 11:25:15 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-07-24 12:25:02 +0200 |
commit | 6a9ae7e25f6841cfd56be5560ecde9de52378526 (patch) | |
tree | 40e2715f6874e2637eeec6807075170437878046 /tests/cppmodelmanager | |
parent | 4e9d3b044e996f45909797ba3a3a88b22967d62e (diff) | |
download | qt-creator-6a9ae7e25f6841cfd56be5560ecde9de52378526.tar.gz |
CppTools: Auto-include pre-compiled headers
So far the pre-compiled headers were processed (thus defines from those
headers were visible), but the actual includes for the documents were
not added, which is necessary for lookup/completion.
Note that this will be only done if pre-compiled headers are not ignored
(Options > C++ > Code Model > [] Ignore pre-compiled headers).
Change-Id: I54a8e6b00597af164d958e3e9f2a1075ea187788
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'tests/cppmodelmanager')
-rw-r--r-- | tests/cppmodelmanager/testdata_defines/pch1.h | 1 | ||||
-rw-r--r-- | tests/cppmodelmanager/testdata_defines/pch2.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/cppmodelmanager/testdata_defines/pch1.h b/tests/cppmodelmanager/testdata_defines/pch1.h index a5a8cae412..b76608a772 100644 --- a/tests/cppmodelmanager/testdata_defines/pch1.h +++ b/tests/cppmodelmanager/testdata_defines/pch1.h @@ -1 +1,2 @@ #define SUB1 +class ClassInPch1{}; diff --git a/tests/cppmodelmanager/testdata_defines/pch2.h b/tests/cppmodelmanager/testdata_defines/pch2.h index 2b715eaec1..289da5b927 100644 --- a/tests/cppmodelmanager/testdata_defines/pch2.h +++ b/tests/cppmodelmanager/testdata_defines/pch2.h @@ -1 +1,2 @@ #define SUB2 +class ClassInPch2{}; |