Thiago Macieira 84467d70a8 QByteArray/QList/QString: mark size() constexpr and always in-range
Using the C++20 [[assume]] attribute, which GCC and Clang support in
C++17 mode too. This may help the compiler generate slightly better
code, avoiding the need to check if the size is negative or overflows.

I've also marked count() and length() as constexpr.

Change-Id: Ida6c9a7ba67574a952f3fffd44dea52a0e0e61c2
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2025-02-04 22:40:20 -08:00
2025-01-30 22:32:40 +01:00
2024-11-05 14:36:16 +01:00
2024-11-05 14:36:16 +01:00
2025-01-27 07:47:59 +00:00
2024-12-13 14:54:23 +00:00
2024-06-25 11:44:00 +02:00
Description
Qt Base (Core, Gui, Widgets, Network, ...)
822 MiB
Languages
C++ 84.3%
HTML 4.9%
C 3.9%
CMake 3.6%
Objective-C++ 2%
Other 0.8%