summaryrefslogtreecommitdiffstats
path: root/libcxx/src/regex.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libc++] Validate the entire regex is consumedMark de Wever2019-11-091-0/+2
| | | | | | | This change would have warned about the bug found in D62451. No unit tests since the exception should never throw. Differential Revision: https://reviews.llvm.org/D62452
* Update more file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | | to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648
* [libcxx] Remove pragmas that were needed to suppress warnings producedAkira Hatanaka2016-01-281-18/+0
| | | | | | | | | by -Wpadded. We don't need these pragmas anymore because -Wpadded was removed from buildit in r258900. llvm-svn: 259023
* Base regex code on char_class_type.Dan Albert2014-07-291-3/+3
| | | | | | | | | | | | __get_classname() and __bracket_expression were assuming that char_class_type was ctype_base::mask rather than using regex_traits<_CharT>::char_class_type. This change allows char_class_type to be defined to something other than ctype_base::mask so that the implementation will still work for platforms with an 8-bit ctype mask (such as Android and OpenBSD). llvm-svn: 214201
* Fix GCC unknown pragma warning in libc++.Logan Chien2013-12-141-0/+8
| | | | | | | | | | We should check defined(__clang__) before the usage of the clang diagnostic pragmas. The [-Wswitch] warning in src/future.cpp should be ignored. As the result, the equivalent GCC pragma is added. llvm-svn: 197314
* Quash a whole bunch of warningsHoward Hinnant2011-12-011-0/+10
| | | | llvm-svn: 145624
* _STD -> _VSTD to avoid macro clash on windowsHoward Hinnant2011-06-301-2/+2
| | | | llvm-svn: 134190
* Chris Jefferson noted many places where function calls needed to be ↵Howard Hinnant2011-02-141-2/+2
| | | | | | qualified (thanks Chris). llvm-svn: 125510
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* Fixing whitespace problemsHoward Hinnant2010-08-221-2/+0
| | | | llvm-svn: 111751
* continued regex development...Howard Hinnant2010-07-271-0/+4
| | | | llvm-svn: 109512
* A good start on ecma regex's. Maybe even feature complete, not sure yet. ↵Howard Hinnant2010-07-271-0/+58
| | | | | | Also an unrelated fix to is_constructible thanks to Daniel Krugler. llvm-svn: 109479
* Continuing to work through regex, and updated libcxx_by_chapter.pdf with ↵Howard Hinnant2010-06-241-14/+21
| | | | | | weekly test results llvm-svn: 106790
* Finished [re.traits]. I'd like to acknowledge the help of Bjorn Reese with ↵Howard Hinnant2010-06-211-2/+47
| | | | | | <regex>. llvm-svn: 106478
* Just getting our toes wet on <regex>Howard Hinnant2010-06-171-0/+203
llvm-svn: 106187
OpenPOWER on IntegriCloud