llvm-project/libcxx/test/std
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
..
algorithms Fix portability issues in <random> tests. Patch from STL@microsoft.com 2016-07-24 23:36:18 +00:00
atomics libc++: name anonymous structs 2016-07-12 20:14:52 +00:00
containers Fix compile error due to mismatched iterator types. Patch from STL@microsoft.com 2016-08-03 05:50:03 +00:00
depr Fix unreferenced parameter warning. Patch from STL@microsoft.com 2016-06-30 04:22:58 +00:00
diagnostics Move more _LIBCPP_VERSION tests to test/libcxx. 2016-06-22 02:07:26 +00:00
experimental Implement LCM and GCD for Library Fundamentals. Reviewed as https://reviews.llvm.org/D21343. 2016-07-26 14:28:34 +00:00
input.output Implement LWG2328. Rvalue stream extraction should perfect forward. 2016-07-24 04:07:22 +00:00
iterators Fix ::reference typedef in insert iterators. 2016-06-30 04:40:50 +00:00
language.support Avoid applying unary minus to unsigned integers. Patch from STL@microsoft.com 2016-06-30 04:21:52 +00:00
localization Remove locale tests that depend on enviroment variables. 2016-07-18 06:15:55 +00:00
numerics Implement LCM and GCD for C++17. Same code as for Library Fundamentals TS. 2016-07-26 14:29:45 +00:00
re [libcxx] Add "flag" default arg: basic_regex ptr_size_flag ctor 2016-08-07 22:26:04 +00:00
strings Make dtor_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com 2016-07-25 00:50:32 +00:00
thread Fix C++03 build. 2016-06-30 20:46:58 +00:00
utilities Fix an MSVC x64 compiler warning. Patch from STL@microsoft.com 2016-08-03 05:48:09 +00:00
nothing_to_do.pass.cpp