diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2008-12-22 13:55:42 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2008-12-22 13:55:42 +0100 |
commit | e325aa38d91c9d11b9645004e786924c49e2b325 (patch) | |
tree | 0aebde517b65e7cd6292497c08564a544e4dc442 /src/libs/cplusplus/pp-macro-expander.h | |
parent | 1e0f06e4e821fa7eb6964d08b53b75494c54766b (diff) | |
download | qt-creator-e325aa38d91c9d11b9645004e786924c49e2b325.tar.gz |
Nicer implementation of CPlusPlus::Macro.
Diffstat (limited to 'src/libs/cplusplus/pp-macro-expander.h')
-rw-r--r-- | src/libs/cplusplus/pp-macro-expander.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/cplusplus/pp-macro-expander.h b/src/libs/cplusplus/pp-macro-expander.h index 2959977bb1..3e6217476f 100644 --- a/src/libs/cplusplus/pp-macro-expander.h +++ b/src/libs/cplusplus/pp-macro-expander.h @@ -88,6 +88,10 @@ namespace CPlusPlus { const char *operator () (const char *first, const char *last, QByteArray *result); + const char *operator () (const QByteArray &source, + QByteArray *result) + { return operator()(source.constBegin(), source.constEnd(), result); } + const char *skip_argument_variadics (const QVector<QByteArray> &actuals, Macro *macro, const char *first, const char *last); |