aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2013-10-20 10:07:29 +0000
committerTim Shen <timshen@gcc.gnu.org>2013-10-20 10:07:29 +0000
commit603b781be4c81c3943d7701860f38798132c5fdf (patch)
tree7769a5568df6939da675c46462f0680614d44d01 /libstdc++-v3/testsuite
parentf5b9d5e877cff9d344645362dc57980a6c747e2c (diff)
downloadgcc-603b781be4c81c3943d7701860f38798132c5fdf.zip
gcc-603b781be4c81c3943d7701860f38798132c5fdf.tar.gz
gcc-603b781be4c81c3943d7701860f38798132c5fdf.tar.bz2
regex.h: Remove virtual class _Automaton.
2013-10-20 Tim Shen <timshen91@gmail.com> * include/bits/regex.h: Remove virtual class _Automaton. * include/bits/regex_automaton.h: Likewise. * include/bits/regex.tcc: Adjust comment for policy changing. * include/bits/regex_executor.h: Update comments of complexity. * include/bits/regex_executor.tcc: Adjust executor choosing policy. Now DFS executor is the default one. * testsuite/util/testsuite_regex.h (regex_match_debug, regex_search_debug): Adjust for policy changing. From-SVN: r203875
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/util/testsuite_regex.h b/libstdc++-v3/testsuite/util/testsuite_regex.h
index 17be78d..bc0f3d5 100644
--- a/libstdc++-v3/testsuite/util/testsuite_regex.h
+++ b/libstdc++-v3/testsuite/util/testsuite_regex.h
@@ -148,7 +148,7 @@ namespace __gnu_test
(__s, __e, __m, __re, __flags);
match_results<_Bi_iter, _Alloc> __mm;
auto __res2 = __regex_algo_impl<_Bi_iter, _Alloc, _Ch_type, _Rx_traits,
- _RegexExecutorPolicy::_S_force_dfs, true>
+ _RegexExecutorPolicy::_S_alternate, true>
(__s, __e, __mm, __re, __flags);
if (__res1 == __res2 && __m == __mm)
return __res1;
@@ -234,7 +234,7 @@ namespace __gnu_test
(__s, __e, __m, __re, __flags);
match_results<_Bi_iter, _Alloc> __mm;
auto __res2 = __regex_algo_impl<_Bi_iter, _Alloc, _Ch_type, _Rx_traits,
- _RegexExecutorPolicy::_S_force_dfs, false>
+ _RegexExecutorPolicy::_S_alternate, false>
(__s, __e, __mm, __re, __flags);
if (__res1 == __res2 && __m == __mm)
return __res1;