diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-10-26 14:32:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-27 14:56:14 +0200 |
commit | 916460929d1de315262d4a9ee91280ecaf3f58f1 (patch) | |
tree | cf92200e93dd85bf588046772f72e0b9fb2945ad /tests/benchmarks/corelib/thread/thread.pro | |
parent | 73e1a1c27cc1eaae98cc01dd4ad7ba725ea30b66 (diff) |
Move the implementation of normalizeTypeInternal()
This function is only used in src/tools/moc/moc.cpp and
src/corelib/kernel/qmetaobject.cpp. We don't need to include the
static, non-inline declaration and definition every time
qmetaobject_p.h is included.
This also silences the related warning from clang:
../../../include/QtCore/5.0.0/QtCore/private/../../../../../src/corelib/kernel/qmetaobject_p.h:171:19: error:
function 'normalizeTypeInternal' is not needed and will not be emitted
[-Werror,-Wunneeded-internal-declaration]
static QByteArray normalizeTypeInternal(const char *t, const char *e, ...
^
Change-Id: I6dfb2cb4d9d82a2ae7795f91169aa62f9a5f2c2f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'tests/benchmarks/corelib/thread/thread.pro')
0 files changed, 0 insertions, 0 deletions