diff options
author | Tim Shen <timshen91@gmail.com> | 2013-09-02 22:20:56 +0000 |
---|---|---|
committer | Tim Shen <timshen@gcc.gnu.org> | 2013-09-02 22:20:56 +0000 |
commit | e35096918493d92c03f4d6483bfd07f5ec6a998e (patch) | |
tree | 35679ea7831ed6df022d4a35fa92b9b36166cb35 /gcc/tree-profile.c | |
parent | ce96d372535446c64e2434f5eafddf78331f2808 (diff) | |
download | gcc-e35096918493d92c03f4d6483bfd07f5ec6a998e.zip gcc-e35096918493d92c03f4d6483bfd07f5ec6a998e.tar.gz gcc-e35096918493d92c03f4d6483bfd07f5ec6a998e.tar.bz2 |
regex_automaton.h: Rearrange _NFA's layout.
2013-09-02 Tim Shen <timshen91@gmail.com>
* regex_automaton.h: Rearrange _NFA's layout.
* include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
Rearrange _BracketMatcher's layout.
(_BracketMatcher<>::_M_add_char): Use set instead of vector for
_M_char_set.
(_BracketMatcher<>::_M_add_collating_element): Likewise.
(_BracketMatcher<>::_M_make_range): Likewise.
* include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
apropriate constructors of matchers above.
* testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
New.
* testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
* testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
New.
* testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
New.
* testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
New.
* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
From-SVN: r202189
Diffstat (limited to 'gcc/tree-profile.c')
0 files changed, 0 insertions, 0 deletions