diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-03-28 10:55:25 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-03-30 08:40:39 +0000 |
commit | a295dae1bc2e2f2d1d1a2c53a9d5faffeeac68c5 (patch) | |
tree | 8b08dcfe4a5b183df1514a2029e392defb383984 /tests | |
parent | 44900962268c50aa1f9823e71d5b75cfa9e7ea4f (diff) |
Fix value type encoding constant usage when cross-compiling
Our two value encodings use different masks for the upper 4 bytes.
Depending on the target architecture we must use different values when
generating code that uses these masks.
This patch replaces the #ifdef'ed ValueTypeInternal_* enum values with
two C++11 scoped enums that allows for the co-existence of both
throughout the code base as well as selective use in the code
generators.
Change-Id: I380c8c28b84df2874cca521b78bfe7f9388ed228
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions