commit | 15c010a37e28f28b85fc08a3fa5c3b8090217500 | [log] [tgz] |
---|---|---|
author | Dan Albert <[email protected]> | Tue Jul 29 19:23:39 2014 |
committer | Dan Albert <[email protected]> | Tue Jul 29 19:23:39 2014 |
tree | 99d13a684a6a5a943f50f8b453ef8baa58f7f38c | |
parent | 924e9e0226662e0673545d97ea6f3394a81388ad [diff] |
Base regex code on char_class_type. __get_classname() and __bracket_expression were assuming that char_class_type was ctype_base::mask rather than using regex_traits<_CharT>::char_class_type. This change allows char_class_type to be defined to something other than ctype_base::mask so that the implementation will still work for platforms with an 8-bit ctype mask (such as Android and OpenBSD). llvm-svn: 214201