diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-11-01 14:31:49 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-11-02 11:34:25 +0100 |
commit | 6b4d3613326b38bc05c813c449b31affd9c3795a (patch) | |
tree | 82cd1cebcc464138ddff18d4c4fd88f7522b7cf9 /src/qml/qtqmlglobal.h | |
parent | e7dff7b13a2ff1a50e26c9961808a6818cd7445e (diff) |
Avoid -Wignored-attributes warning with clang
The WTF macro only really works for gcc, so do not enable it for clang.
Clang expects the attribute to come before the function; however, as WTF
is (originally) third-party code, we avoid extensive modifications.
Task-number: QTBUG-91163
Change-Id: Ic555c6721d2c4232a7d7bd84d53cdf6ad6cea86b
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qtqmlglobal.h')
0 files changed, 0 insertions, 0 deletions