diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2016-03-04 12:43:06 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2016-03-04 14:22:27 +0000 |
commit | 2b2ba298f3cfc17b74ddd476613377f0b325955b (patch) | |
tree | 3ccd65e272d234c0c2b71954884b36776c101d7e /src/libs/cplusplus/FastPreprocessor.h | |
parent | f99f5dcdc6f1ae26145242712985ca42d724e34d (diff) | |
download | qt-creator-2b2ba298f3cfc17b74ddd476613377f0b325955b.tar.gz |
CppEditor: Generate doxygen comments for functions with macros
...at least for object-like macros. This handles the common case where a
macro before the function signature annotates the DLL import/export.
Task-number: QTCREATORBUG-15819
Change-Id: I79f22508188019402fb7345222408aaf90106f20
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/libs/cplusplus/FastPreprocessor.h')
-rw-r--r-- | src/libs/cplusplus/FastPreprocessor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/cplusplus/FastPreprocessor.h b/src/libs/cplusplus/FastPreprocessor.h index 1f15f97b1a..04d7320115 100644 --- a/src/libs/cplusplus/FastPreprocessor.h +++ b/src/libs/cplusplus/FastPreprocessor.h @@ -51,7 +51,9 @@ class CPLUSPLUS_EXPORT FastPreprocessor: public Client public: FastPreprocessor(const Snapshot &snapshot); - QByteArray run(Document::Ptr newDoc, const QByteArray &source); + QByteArray run(Document::Ptr newDoc, + const QByteArray &source, + bool mergeDefinedMacrosOfDocument = false); // CPlusPlus::Client virtual void sourceNeeded(unsigned line, const QString &fileName, IncludeType mode, |