summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpppreprocessor.cpp
diff options
context:
space:
mode:
authorSergey Shambir <sergey.shambir.auto@gmail.com>2013-05-26 10:57:41 +0400
committerhjk <hjk121@nokiamail.com>2013-05-31 10:53:18 +0200
commitd8eb5ddb757744300fcaf498c39086ac8d62bcd5 (patch)
tree3d2f08a0e3386a66c57ba29555fdbe8c92f38455 /src/plugins/cpptools/cpppreprocessor.cpp
parent2d68f9c808f3f718a4869d02c9887d7809109e05 (diff)
downloadqt-creator-d8eb5ddb757744300fcaf498c39086ac8d62bcd5.tar.gz
CppTools: cleanup CppPreprocessor header, added short docs.
Change-Id: Ib61197da939165d24b99e40f29f9de13d109e044 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/cpptools/cpppreprocessor.cpp')
-rw-r--r--src/plugins/cpptools/cpppreprocessor.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpppreprocessor.cpp b/src/plugins/cpptools/cpppreprocessor.cpp
index 5c5d1bd803..d12b56b207 100644
--- a/src/plugins/cpptools/cpppreprocessor.cpp
+++ b/src/plugins/cpptools/cpppreprocessor.cpp
@@ -5,6 +5,18 @@
#include <QCoreApplication>
+/*!
+ * \class CppTools::Internal::CppPreprocessor
+ * \brief The CppPreprocessor class updates set of indexed C++ files.
+ *
+ * Indexed file is truncated version of fully parsed document: copy of source
+ * code and full AST will be dropped when indexing is done. Working copy ensures
+ * that documents with most recent copy placed in memory will be parsed correctly.
+ *
+ * \sa CPlusPlus::Document
+ * \sa CppTools::CppModelManagerInterface::WorkingCopy
+ */
+
using namespace CPlusPlus;
using namespace CppTools;
using namespace CppTools::Internal;