| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 187078
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unordered_set, however it is not complete yet for unordered_multiset,
unordered_map or unordered_multimap. There has been a lot of work done
for these other three containers, however that work was done just to
keep all of the tests passing.
You can try this out with -D_LIBCPP_DEBUG2. You will have to link to a
libc++.dylib that has been compiled with src/debug.cpp. So far, vector
(but not vector<bool>), list, and unordered_set are treated. I hope to
get the other three unordered containers up fairly quickly now that
unordered_set is done.
The flag _LIBCPP_DEBUG2 will eventually be changed to _LIBCPP_DEBUG, but
not today. This is my second effort at getting debug mode going for
libc++, and I'm not quite yet ready to throw all of the work under the
first attempt away.
The basic design is that all of the debug information is kept in a
central database, instead of in the containers. This has been done as
an attempt to have debug mode and non-debug mode be ABI compatible with
each other. There are some circumstances where if you construct a
container in an environment without debug mode and pass it into debug
mode, the checking will get confused and let you know with a readable
error message. Passing containers the other way: from debug mode out to
a non-debugging mode container should be 100% safe (at least that is the
goal).
llvm-svn: 186991
|
| |
|
|
| |
llvm-svn: 186956
|
| |
|
|
|
|
|
|
| |
ignoring capture groups inside lookahead assertions.
For example, matching /(?=(a))(a)/ to "a" should yield two captures: \1 = "a", \2 = "a"
llvm-svn: 186954
|
| |
|
|
|
|
|
|
| |
when it shouldn’t.
Reviewed by Howard.
llvm-svn: 186875
|
| |
|
|
|
|
| |
fixing bug #16599. Thanks to Howard for the review and updates.
llvm-svn: 186834
|
| |
|
|
| |
llvm-svn: 186525
|
| |
|
|
| |
llvm-svn: 186472
|
| |
|
|
|
|
| |
(and make_pair) constexpr.
llvm-svn: 186430
|
| |
|
|
| |
llvm-svn: 186344
|
| |
|
|
|
|
|
|
| |
escapes, e.g. "\cA\ca". The code will now throw an error_escape exception for invalid control sequences like "\c:" or "\c".
I've added the test cases to bad_escape.pass.cpp.
llvm-svn: 186335
|
| |
|
|
| |
llvm-svn: 186334
|
| |
|
|
| |
llvm-svn: 186237
|
| |
|
|
| |
llvm-svn: 186136
|
| |
|
|
|
|
|
|
| |
invalid memory, when driven by a regex_iterator (for case 1, see r185273 or http://llvm.org/bugs/show_bug.cgi?id=16240)
The attached test program also supplies a test for the case 1 fix in r185273.
llvm-svn: 186089
|
| |
|
|
|
|
| |
the suggestion
llvm-svn: 186022
|
| |
|
|
|
|
|
|
| |
when it's restarting in the middle of a string. This bug causes /^a/ to match in the middle of the string "aaaaaaa", during iteration.
My patch uses to communicate when is false.
llvm-svn: 185950
|
| |
|
|
| |
llvm-svn: 185865
|
| |
|
|
| |
llvm-svn: 185863
|
| |
|
|
| |
llvm-svn: 185856
|
| |
|
|
| |
llvm-svn: 185849
|
| |
|
|
| |
llvm-svn: 185756
|
| |
|
|
|
|
| |
[unordered_][multi]map. This fixes http://llvm.org/bugs/show_bug.cgi?id=16549
llvm-svn: 185711
|
| |
|
|
|
|
| |
using just an argument for the key, as opposed to using piecewise_construct. However a bug report exposed that this created an unfortunate ambiguity. People who are currently using the extension will be notified the next time they compile, and will have to change to using piecewise_construct. There are no ABI issues with the removal of this extension. This fixes http://llvm.org/bugs/show_bug.cgi?id=16542
llvm-svn: 185666
|
| |
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=16538
llvm-svn: 185665
|
| |
|
|
| |
llvm-svn: 185646
|
| |
|
|
| |
llvm-svn: 185597
|
| |
|
|
| |
llvm-svn: 185452
|
| |
|
|
|
|
|
|
| |
the pointer after reading the third character of an octal escape (in awk mode).
That is, regex{"\141", awk} results in the regular expression /a1/ instead of just /a/.
llvm-svn: 185449
|
| |
|
|
| |
llvm-svn: 185391
|
| |
|
|
| |
llvm-svn: 185352
|
| |
|
|
| |
llvm-svn: 185343
|
| |
|
|
|
|
| |
so as to correctly handle EOF. This fixes http://llvm.org/bugs/show_bug.cgi?id=16427
llvm-svn: 185298
|
| |
|
|
|
|
| |
overly general and getting confused with the copy constructor and copy assignment operators. Constrained them. This fixes http://llvm.org/bugs/show_bug.cgi?id=16385
llvm-svn: 185297
|
| |
|
|
|
|
| |
false instead of give a compile time error, always. The problem was down in ____mu_return, the version that handles nested bind objects. This fixes http://llvm.org/bugs/show_bug.cgi?id=16343
llvm-svn: 185289
|
| |
|
|
|
|
| |
and libc++ to see if this error occurred elsewhere and didn't see any other place. This fixes http://llvm.org/bugs/show_bug.cgi?id=16207
llvm-svn: 185265
|
| |
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=16135
llvm-svn: 185211
|
| |
|
|
|
|
| |
When makes a recursive call to , it passes true for the value of . This causes a beginning-of-line anchor (^) inside a lookahead assertion to match anywhere in the text. This fixes http://llvm.org/bugs/show_bug.cgi?id=11118
llvm-svn: 185196
|
| |
|
|
|
|
| |
invalid escape sequence. This fixes http://llvm.org/bugs/show_bug.cgi?id=16023
llvm-svn: 185192
|
| |
|
|
|
|
| |
string. This completes the custom pointer support for the entire library.
llvm-svn: 185167
|
| |
|
|
| |
llvm-svn: 185093
|
| |
|
|
| |
llvm-svn: 184859
|
| |
|
|
|
|
| |
forward_list.
llvm-svn: 184759
|
| |
|
|
| |
llvm-svn: 184673
|
| |
|
|
|
|
| |
for the unordered containers only. This work still needs to be done on the sequence containers.
llvm-svn: 184635
|
| |
|
|
|
|
| |
for the associative containers only. This work still needs to be done on the unordered and sequence containers. Fixes http://llvm.org/bugs/show_bug.cgi?id=15978
llvm-svn: 184358
|
| |
|
|
| |
llvm-svn: 183522
|
| |
|
|
|
|
| |
added.
llvm-svn: 182421
|
| |
|
|
|
|
| |
test. This was causing a const-qualified bind result to malfunction. This was a recent regression due to the new use of __member_pointer_traits in restricting the __invokable and __invoke_of tests.
llvm-svn: 181935
|
| |
|
|
| |
llvm-svn: 181610
|