summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTatiana Borisova <tatiana.borisova@qt.io>2021-10-13 14:29:36 +0300
committerTatiana Borisova <tatiana.borisova@qt.io>2021-10-20 15:04:51 +0000
commit57ec47921e1e703372c1a69a5e3b375ef3918acc (patch)
tree1add16887ec39bec797fe494d06a844ce5ec8ca3 /src
parent3f4082c0e847c21f468d38609766e8cf1e446531 (diff)
Compile Private API autotests for INTEGRITY
- GHS's __PRETTY_FUNCTION__ (used by QT as Q_FUNC_INFO) doesn't have spaces round the = operator when indicating the type of the template parameter. The compilation error: qt5/qtbase/src/corelib/kernel/qmetatype.h", line 2104: note #3316-D: cannot access position 53 in array of 49 elements constexpr const char *begin = func + prefix; ^ detected during: instantiation of "auto QtPrivate::typenameHelper<T>() [with T=void]" at line 2186 Task-number: QTBUG-97087 Pick-to: 6.2 Change-Id: I33e61f5d54a61944a5aecf07d149a8dee0ef1e5d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qmetatype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h
index 327f918d6b..346ae3667a 100644
--- a/src/corelib/kernel/qmetatype.h
+++ b/src/corelib/kernel/qmetatype.h
@@ -2154,7 +2154,7 @@ constexpr auto typenameHelper()
#elif defined(Q_CC_CLANG)
"auto QtPrivate::typenameHelper() [T = "
#elif defined(Q_CC_GHS)
- "auto QtPrivate::typenameHelper<T>() [with T = "
+ "auto QtPrivate::typenameHelper<T>() [with T="
#else
"constexpr auto QtPrivate::typenameHelper() [with T = "
#endif