From d8eb5ddb757744300fcaf498c39086ac8d62bcd5 Mon Sep 17 00:00:00 2001 From: Sergey Shambir Date: Sun, 26 May 2013 10:57:41 +0400 Subject: CppTools: cleanup CppPreprocessor header, added short docs. Change-Id: Ib61197da939165d24b99e40f29f9de13d109e044 Reviewed-by: Leena Miettinen Reviewed-by: hjk --- src/plugins/cpptools/cpppreprocessor.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/plugins/cpptools/cpppreprocessor.cpp') 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 +/*! + * \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; -- cgit v1.2.1