[libcxx] [test] Don't look for the literal spelling __mbstate_t in warnings
authorMartin Storsjö <martin@martin.st>
Fri, 28 May 2021 09:55:44 +0000 (09:55 +0000)
committerMartin Storsjö <martin@martin.st>
Mon, 31 May 2021 19:13:21 +0000 (22:13 +0300)
commitb48a256e9c6e300f9f3f20180db369b9e7e27250
treeadf630c30cda9fc007a872cc6c1e339e942a69b4
parentaa00b1d76364fc558fa6f28e31bb33938e1ae6af
[libcxx] [test] Don't look for the literal spelling __mbstate_t in warnings

While the code uses the type name `std::mbstate_t`, the warning message
mentions the original underlying type, which is a C library internal
type name.

On Windows this type is called `_Mbstatet` instead of `__mbstate_t`. Use
expect-warning-re to avoid spelling out the literal name of the type.

Due to issues with the detection of the clang-verify feature, these
tests have been skipped in the Windows CI configuration so far.

Differential Revision: https://reviews.llvm.org/D103309
libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/codecvt_byname_char16_t_char.depr_in_cxx20.verify.cpp
libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt.byname/codecvt_byname_char32_t_char.depr_in_cxx20.verify.cpp
libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/codecvt_char16_t_char.depr_in_cxx20.verify.cpp
libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/codecvt_char32_t_char.depr_in_cxx20.verify.cpp