summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2019-06-14 09:04:16 +0000
committerMikhail Maltsev <mikhail.maltsev@arm.com>2019-06-14 09:04:16 +0000
commit411c630bae0e0d50697651797709987e2cfea92d (patch)
treeef82023ffc234350d153e4459c293b30591f8bb5 /llvm/lib/CodeGen/GCStrategy.cpp
parent796ed03b841289a5ca75a3046b09d6b8222f01ef (diff)
downloadbcm5719-llvm-411c630bae0e0d50697651797709987e2cfea92d.tar.gz
bcm5719-llvm-411c630bae0e0d50697651797709987e2cfea92d.zip
[libc++] Keep __regex_word in sync with ctype_base
Summary: The class ctype_base in the header <__locale> contains masks for character classification functions, which are kept in sync with platform's C library, hence it contains many special cases. The value of the bit mask __regex_word in the header <regex> must not clash with those bit masks. Currently the default case (i.e. unknown platform/C library) is handled incorrectly: the __regex_word clashes with ctype_base::punct. To avoid replicating the whole list of platforms in <regex> this patch defines __regex_word in <__locale>, so that it is always kept in sync with other masks. Reviewers: ldionne, mclow.lists, EricWF Reviewed By: ldionne Subscribers: krytarowski, christof, dexonsmith, pbarrio, simon_tatham, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D63284 llvm-svn: 363363
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud