summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-11-30 11:33:49 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2016-12-02 09:57:23 +0000
commit1db1efa2711138d58621b095e7f54df0abf320cd (patch)
tree3d37f99958c1b9964d8c706909415c423961f083
parentce5b08d9dfc837f455d7cab6b26b3956bdf6d076 (diff)
downloadqt-creator-1db1efa2711138d58621b095e7f54df0abf320cd.tar.gz
Doc: Describe excluding large files when indexing
...in Tools > Options > C++ > Code Model. Change-Id: I8efda2f62a4efd5c782cc4460a3b0c3eebbd23a6 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
-rw-r--r--doc/images/qtcreator-clang-code-model-options.pngbin15106 -> 16323 bytes
-rw-r--r--doc/src/editors/creator-clang-codemodel.qdoc8
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/images/qtcreator-clang-code-model-options.png b/doc/images/qtcreator-clang-code-model-options.png
index cd28c697d9..ff9e367c02 100644
--- a/doc/images/qtcreator-clang-code-model-options.png
+++ b/doc/images/qtcreator-clang-code-model-options.png
Binary files differ
diff --git a/doc/src/editors/creator-clang-codemodel.qdoc b/doc/src/editors/creator-clang-codemodel.qdoc
index 5073cdaaf0..6d8fbb1d92 100644
--- a/doc/src/editors/creator-clang-codemodel.qdoc
+++ b/doc/src/editors/creator-clang-codemodel.qdoc
@@ -160,9 +160,15 @@
{Options to Request or Suppress Warnings} or the GCC or Clang
manual pages.
- \li To have Clang process pre-compiled headers, deselect the
+ \li To process pre-compiled headers, deselect the
\uicontrol {Ignore pre-compiled headers} check box.
+ \li To avoid out-of-memory crashes caused by indexing huge source files
+ that are typically auto-generated by scripts or code, the size of
+ files to index is limited to 5MB by default. To adjust the limit,
+ edit the value for the \uicontrol {Do not index files greater than}
+ check box. To index all files, deselect the check box.
+
\endlist
*/