llvm-project/libcxx/test/std/re/re.regex
Hubert Tong 2fdf202493 [libcxx] Add "flag" default arg: basic_regex ptr_size_flag ctor
Summary:
The synopsis in C++11 subclause 28.8 [re.regex] has:
```
basic_regex(const charT* p, size_t len,
            flag_type f = regex_constants::ECMAScript);
```

The default argument is added to libc++ by this change.

Reviewers: mclow.lists, rsmith, hubert.reinterpretcast

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D22702

Reapplies r277966.
Patch by Jason Liu!

llvm-svn: 277968
2016-08-07 22:26:04 +00:00
..
re.regex.assign Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
re.regex.const #include <test_macros.h> in all the regex tests, and remove all mentions of __cpluplus (use TEST_STD_VERS and/or XFAIL instead). No functional change 2016-04-26 16:24:44 +00:00
re.regex.construct [libcxx] Add "flag" default arg: basic_regex ptr_size_flag ctor 2016-08-07 22:26:04 +00:00
re.regex.locale #include <test_macros.h> in all the regex tests, and remove all mentions of __cpluplus (use TEST_STD_VERS and/or XFAIL instead). No functional change 2016-04-26 16:24:44 +00:00
re.regex.nonmemb #include <test_macros.h> in all the regex tests, and remove all mentions of __cpluplus (use TEST_STD_VERS and/or XFAIL instead). No functional change 2016-04-26 16:24:44 +00:00
re.regex.operations
re.regex.swap #include <test_macros.h> in all the regex tests, and remove all mentions of __cpluplus (use TEST_STD_VERS and/or XFAIL instead). No functional change 2016-04-26 16:24:44 +00:00
types.pass.cpp [libcxx] basic_regex: add traits_type, string_type 2016-08-02 21:34:48 +00:00