[libc++][AIX] Correct the definition of __regex_word for AIX
authorXing Xue <xingxue@outlook.com>
Sat, 16 Jul 2022 22:11:04 +0000 (18:11 -0400)
committerXing Xue <xingxue@outlook.com>
Sat, 16 Jul 2022 22:11:04 +0000 (18:11 -0400)
commitd29c9477320b982b73dc64405ff8f7fc54bb04d6
tree24f330e3acaf9939f2e588db56244ba3182e94c2
parent45067f8fbf61284839c739807c2da2e2505661eb
[libc++][AIX] Correct the definition of __regex_word for AIX

Summary:
The patch changes the definition of __regex_word to 0x8000 for AIX because the current definition 0x80 clashes with ctype_base::print (_ISPRINT is defined as 0x80 in AIX ctype.h).

Reviewed by: Mordante, hubert.reinterpretcast, libc++

Differential Revision: https://reviews.llvm.org/D129862
libcxx/include/__locale
libcxx/test/std/re/re.traits/isctype.pass.cpp
libcxx/test/std/re/re.traits/lookup_classname.pass.cpp