diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2025-03-21 14:52:43 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2025-03-28 04:05:57 +0100 |
| commit | 2a7fa4963cdab49e19e1377a3ab627584cd6e1cc (patch) | |
| tree | 94970371e995989d3e8c03a54b187b58cfe59b16 /src/corelib/tools/qhash.cpp | |
| parent | d2d74673f3dccc04894f2ea67fc7662cc6ef400b (diff) | |
Shuffle Q_(ALWAYS|NEVER)_INLINE around so they can be attributes
The attribute must appear before the modifiers like 'inline' and 'constexpr'.
Change-Id: If3d143fc2f85a8eba6e3ac2ceca10720649f33cb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
| -rw-r--r-- | src/corelib/tools/qhash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index 3e756bdb478..f5d89f732ae 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -106,7 +106,7 @@ struct HashSeedStorage } private: - Q_DECL_COLD_FUNCTION Q_NEVER_INLINE StateResult initialize(int which) noexcept; + Q_NEVER_INLINE Q_DECL_COLD_FUNCTION StateResult initialize(int which) noexcept; }; [[maybe_unused]] HashSeedStorage::StateResult HashSeedStorage::initialize(int which) noexcept @@ -413,7 +413,7 @@ namespace { } // hash 16 bytes, running 3 scramble rounds of AES on itself (like label "final1") - static void Q_ALWAYS_INLINE QT_FUNCTION_TARGET(AES) QT_VECTORCALL + Q_ALWAYS_INLINE static void QT_FUNCTION_TARGET(AES) QT_VECTORCALL hash16bytes(__m128i &state0, __m128i data) { state0 = _mm_xor_si128(state0, data); |
