Louis Dionne
954d4a2235
[libc++] Fix handling of negated character classes in regex
...
Summary:
This commit fixes a regression introduced in r316095, where we don't match
inverted character classes when there's no negated characrers in the []'s.
rdar://problem/43060054
Reviewers: mclow.lists, timshen, EricWF
Subscribers: christof, dexonsmith, cfe-commits
Differential Revision: https://reviews.llvm.org/D50534
llvm-svn: 340609
2018-08-24 14:10:28 +00:00
Roger Ferrer Ibanez
5347ebef23
Mark tests as unsupported in C++98 as well
...
Differential Revision: https://reviews.llvm.org/D38362
llvm-svn: 317210
2017-11-02 15:01:43 +00:00
Marshall Clow
bff66aab70
Mark the new tests as unsupported when there are no exceptions
...
llvm-svn: 313092
2017-09-12 23:33:34 +00:00
Marshall Clow
c589f5f875
XFAIL a couple of new <regex> tests for C++03
...
llvm-svn: 313064
2017-09-12 19:01:32 +00:00
Marshall Clow
5a72679338
Apply D28224: 'Throw exception after too many steps' Fixes PR#20291. Thanks to Tim Shen for the patch
...
llvm-svn: 313056
2017-09-12 17:56:59 +00:00
Stephan T. Lavavej
6081edc9d0
[libcxx] [test] Strip trailing whitespace. NFC.
...
llvm-svn: 302105
2017-05-04 01:43:58 +00:00
Marshall Clow
14764c2200
Some of Eric's buildbots don't like this test. Disable it while I figure out why.
...
llvm-svn: 299686
2017-04-06 18:54:37 +00:00
Marshall Clow
71724f642e
Recommit awk tests with warnings removed. Initial commit r299652, reverted r299656.
...
llvm-svn: 299680
2017-04-06 18:34:36 +00:00
Mehdi Amini
ea7d7cd78a
Revert "Restore Missing awk regex tests. Thanks to dexonsmith for noticing, and proposing this as https://reviews.llvm.org/D16541 "
...
This reverts commit r299652, 32bits MacOS is broken.
llvm-svn: 299656
2017-04-06 15:56:55 +00:00
Marshall Clow
02c162d71a
Restore Missing awk regex tests. Thanks to dexonsmith for noticing, and proposing this as https://reviews.llvm.org/D16541
...
llvm-svn: 299652
2017-04-06 14:32:42 +00:00
Eric Fiselier
3c35491f02
Update all bug URL's to point to https://bugs.llvm.org/ ...
...
llvm-svn: 295434
2017-02-17 08:37:03 +00:00
Eric Fiselier
e161f97b81
Fix -Wsign-compare warnings in re tests that only run on OS X
...
llvm-svn: 290481
2016-12-24 03:20:53 +00:00
Eric Fiselier
fd83822741
Fix unused parameters and variables
...
llvm-svn: 290459
2016-12-23 23:37:52 +00:00
Tim Shen
e776667441
[libcxx] Make regex_match backtrack when search fails
...
Summary:
Fixes PR19851.
alg.re.match/ecma.pass.cpp still XFAILS on linux, but after commenting out
locale-related tests, it passes. I don't have a freebsd machine to produce a
full pass.
Reviewers: mclow.lists
Subscribers: cfe-commits, emaste
Differential Revision: https://reviews.llvm.org/D26026
llvm-svn: 285352
2016-10-27 21:40:34 +00:00
Eric Fiselier
d04c685168
Remove trailing whitespace in test suite. Approved by Marshall Clow.
...
llvm-svn: 271435
2016-06-01 21:35:39 +00:00
Marshall Clow
8dc9dcaeac
Apparently XFAIL tests that are supposed to fail to compile can be problematic. They still get compiled, and if the compile succeeds, the buildbots complain. Replace the XFAIL with #error.
...
llvm-svn: 267591
2016-04-26 19:29:35 +00:00
Marshall Clow
fd5ceb2228
#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
...
llvm-svn: 267567
2016-04-26 16:24:44 +00:00
Ed Schouten
f424990d37
Don't hardcode the Czech locale name.
...
We already have a definition for the Czech locale name in
platform_support.h. Use this one instead.
While there, respect the common format of the tests. For most other
tests it's the case that test_iterators.h is placed right underneath the
other #includes (without an empty line). platform_support.h is included
after an empty line.
llvm-svn: 232383
2015-03-16 15:09:15 +00:00
Marshall Clow
eb9bfac876
Cleaning up the test suite; remove some includes of non-standard file <__config>
...
llvm-svn: 226411
2015-01-18 19:05:51 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00