qt6-bb10/tests/auto/corelib/text
Marc Mutz 564be117fe tst_QByteArrayView: expose constExpr() test to non-ubsan GCC builds
Because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962, and
because marking constExpr() as __attribute__((no_sanitize_undefined))
doesn't fix a thing, we opted to disable the triggering parts of
constExpr() from all GCC builds.

This is, of course, unfortunate, since it meaningfully reduces
compile-time coverage in the general case for a rather obscure build
type most won't ever use.

While GCC doesn't give us a predefined macro to check for in the .cpp
file, the cmake build system knows whether we use ubsan, so just
define a macro of our own.

As a drive-by, simplify GCC detection by using Q_CC_GCC_ONLY.

Amends de6a004bc5.

Pick-to: 6.7 6.5 6.2
Task-number: QTBUG-101307
Change-Id: I4be5bd103b9d2386b2ac9fd22e0c34f9c63fee04
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-23 01:36:54 +02:00
..
qanystringview QAnyStringView: use new comparison helper macros 2024-03-02 00:12:55 +01:00
qbytearray QString/QByteArray: add slice() methods 2024-02-29 00:27:25 +02:00
qbytearray_large Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayapisymmetry Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearraylist Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearraymatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qbytearrayview tst_QByteArrayView: expose constExpr() test to non-ubsan GCC builds 2024-05-23 01:36:54 +02:00
qbytedatabuffer Change license for tests files 2024-02-04 09:56:42 +01:00
qchar Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qcollator Change license for tests files 2024-02-04 09:56:42 +01:00
qlatin1stringmatcher QStaticLatin1StringMatcher: add indexIn(QStringView) 2024-05-08 22:05:35 +02:00
qlatin1stringview Change license for tests files 2024-02-04 09:56:42 +01:00
qlocale Fix separator in QLocale::uiLanguages() 2024-05-16 01:57:04 +08:00
qregularexpression QRegularExpression: use modernize comparisons 2024-05-06 16:01:28 +02:00
qstring QString: ensure multi-arg arg() parses replacement like single-arg arg() 2024-04-21 06:48:11 -07:00
qstring_no_cast_from_bytearray Change license for tests files 2024-02-04 09:56:42 +01:00
qstringapisymmetry tst_QStringApiSymmetry: add overload check for (weak)QString/QBAV 2024-05-22 18:18:12 +02:00
qstringbuilder Change license for tests files 2024-02-04 09:56:42 +01:00
qstringconverter QStringConverterICU: Pass correct pointer to callback 2024-04-19 05:34:08 +00:00
qstringiterator Change license for tests files 2024-02-04 09:56:42 +01:00
qstringlist Change license for tests files 2024-02-04 09:56:42 +01:00
qstringmatcher Change license for tests files 2024-02-04 09:56:42 +01:00
qstringtokenizer Change license for tests files 2024-02-04 09:56:42 +01:00
qstringview Change license for tests files 2024-02-04 09:56:42 +01:00
qtextboundaryfinder Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qunicodetools Change license for tests files 2024-02-04 09:56:42 +01:00
shared Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Revert "wasm: Disable problematic qlocal test for time being" 2024-03-14 19:11:52 +01:00