Add correct prefix for GHS compiler

This fixes INTEGRITY build error:

cannot access position 53 in array of 49 elements
          constexpr const char *begin = func + prefix;

and many "expression must have a constant value" errors.

Change-Id: I0e043028fbcb479c6657b59ea144b4536cc65651
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Kimmo Ollila 2021-01-22 11:24:00 +02:00
parent 1a9095e1fa
commit 77cfbd755a

View File

@ -2083,6 +2083,8 @@ constexpr auto typenameHelper()
"auto __cdecl QtPrivate::typenameHelper<"
#elif defined(Q_CC_CLANG)
"auto QtPrivate::typenameHelper() [T = "
#elif defined(Q_CC_GHS)
"auto QtPrivate::typenameHelper<T>() [with T = "
#else
"constexpr auto QtPrivate::typenameHelper() [with T = "
#endif