qt5base-lts/tests/benchmarks/corelib/io
Marc Mutz 6f1821dfa3 benchmarks: fix some (future) -Wunused-result warnings
Clang 10 warns about unused results of relational operators, which is
where this is coming from.

Fix by adding the usual prefix

  [[maybe_unused]] auto r = ~~~;

to silence the warning. Do this elsewhere, too, since [[nodiscard]] is
slowly being rolled out across all our APIs. This is not a complete
sweep, though.

Not picking to 5.15, because this pattern doesn't work there and I
don't want to introduce a new one.

Pick-to: 6.3 6.2
Change-Id: I40dd8ad07496b686979dce533e044cbb486e30f3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-01-24 21:11:22 +01:00
..
qdir QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
qdiriterator QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
qfile QAbstractFileEngine: Add permission argument to open() 2021-12-04 01:27:08 +01:00
qfileinfo Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qiodevice Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qprocess Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qtemporaryfile Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qtextstream Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00
qurl benchmarks: fix some (future) -Wunused-result warnings 2022-01-24 21:11:22 +01:00
CMakeLists.txt Standardise layout and naming in corelib benchmarks 2021-08-30 19:21:08 +02:00