<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/libcxx/include/map, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2019-07-19T17:13:39+00:00</updated>
<entry>
<title>[libc++] Use _EnableIf instead of std::enable_if in deduction guides for map and set</title>
<updated>2019-07-19T17:13:39+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-07-19T17:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a5bd48939cdfdfbc9871d8d80ec1cb0e3d91c745'/>
<id>urn:sha1:a5bd48939cdfdfbc9871d8d80ec1cb0e3d91c745</id>
<content type='text'>
llvm-svn: 366594
</content>
</entry>
<entry>
<title>Add contains method to associative containers. This patch implements P0458R2, adding contains to map, multimap, unordered_map, unordered_multimap, set, multiset, unordered_set, and unordered_multiset.</title>
<updated>2019-07-16T03:21:01+00:00</updated>
<author>
<name>Zoe Carver</name>
<email>z.zoelec2@gmail.com</email>
</author>
<published>2019-07-16T03:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a17b1aed6ab205515adc31d19e953635e563e5c4'/>
<id>urn:sha1:a17b1aed6ab205515adc31d19e953635e563e5c4</id>
<content type='text'>
llvm-svn: 366170
</content>
</entry>
<entry>
<title>[libc++] Take 2: Implement CTAD for map and multimap</title>
<updated>2019-06-20T19:32:00+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-06-20T19:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f2f7d72f0052b169433790d79e06b5160325c538'/>
<id>urn:sha1:f2f7d72f0052b169433790d79e06b5160325c538</id>
<content type='text'>
This is a re-application of r362986 (which was reverted in r363688) with fixes
for the issue that caused it to be reverted.

Thanks to Arthur O'Dwyer for the patch.

Differential Revision: https://reviews.llvm.org/D58587

llvm-svn: 363968
</content>
</entry>
<entry>
<title>[libc++] Revert the addition of map/multimap CTAD</title>
<updated>2019-06-18T14:40:15+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-06-18T14:40:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1fab01f92bdb23bfce98ee1281fe7be10ec04373'/>
<id>urn:sha1:1fab01f92bdb23bfce98ee1281fe7be10ec04373</id>
<content type='text'>
This was found to be broken on Clang trunk. This is a revert of the
following commits (the subsequent commits added XFAILs to the tests
that were missing from the original submission):

    r362986: Implement deduction guides for map/multimap.
    r363014: Add some XFAILs
    r363097: Add more XFAILs
    r363197: Add even more XFAILs

llvm-svn: 363688
</content>
</entry>
<entry>
<title>Implement deduction guides for map/multimap. Reviewed as https://reviews.llvm.org/D58587. Thanks to Quuxplusone for the submission.</title>
<updated>2019-06-10T21:28:23+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2019-06-10T21:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=edfe8525de1f7278f4754f2bffd47b13ec291a17'/>
<id>urn:sha1:edfe8525de1f7278f4754f2bffd47b13ec291a17</id>
<content type='text'>
llvm-svn: 362986
</content>
</entry>
<entry>
<title>[libc++] Make sure we don't eagerly diagnose non-const comparators for containers of incomplete types</title>
<updated>2019-04-11T16:14:56+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-04-11T16:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7c142fcc06850c7cee3cdb07e98cc57f04ee5e8b'/>
<id>urn:sha1:7c142fcc06850c7cee3cdb07e98cc57f04ee5e8b</id>
<content type='text'>
Summary:
In r348529, I improved the library-defined diagnostic for using containers
with a non-const comparator/hasher. However, the check is now performed
too early, which leads to the diagnostic being emitted in cases where it
shouldn't. See PR41360 for details.

This patch moves the diagnostic to the destructor of the containers, which
means that the diagnostic will only be emitted when the container is instantiated
at a point where the comparator and the key/value are required to be complete.
We still retain better diagnostics than before r348529, because the diagnostics
are performed in the containers themselves instead of __tree and __hash_table.

As a drive-by fix, I improved the diagnostic to mention that we can't find
a _viable_ const call operator, as suggested by EricWF in PR41360.

Reviewers: EricWF, mclow.lists

Subscribers: christof, jkorous, dexonsmith, libcxx-commits, zoecarver

Tags: #libc

Differential Revision: https://reviews.llvm.org/D60540

llvm-svn: 358189
</content>
</entry>
<entry>
<title>[libc++] Avoid UB in the no-exceptions mode in a few places</title>
<updated>2019-02-12T16:06:02+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-02-12T16:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7232a84e686a0d1bf834a845e4e59c5594ae8957'/>
<id>urn:sha1:7232a84e686a0d1bf834a845e4e59c5594ae8957</id>
<content type='text'>
Summary:
A few places in the library seem to behave unexpectedly when the library
is compiled or used with exceptions disabled. For example, not throwing
an exception when a pointer is NULL can lead us to dereference the pointer
later on, which is UB. This patch fixes such occurences.

It's hard to tell whether there are other places where the no-exceptions
mode misbehaves like this, because the replacement for throwing an
exception does not always seem to be abort()ing, but at least this
patch will improve the situation somewhat.

See http://lists.llvm.org/pipermail/libcxx-dev/2019-January/000172.html

Reviewers: mclow.lists, EricWF

Subscribers: christof, jkorous, dexonsmith, libcxx-commits

Differential Revision: https://reviews.llvm.org/D57761

llvm-svn: 353850
</content>
</entry>
<entry>
<title>Update more file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T10:56:40+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T10:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=57b08b0944046a6a57ee9b7b479181f548a5b9b4'/>
<id>urn:sha1:57b08b0944046a6a57ee9b7b479181f548a5b9b4</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Implement P1209 - Adopt Consistent Container Erasure from Library Fundamentals 2 for C++20. Reviewed as https://reviews.llvm.org/D55532</title>
<updated>2018-12-14T18:49:35+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2018-12-14T18:49:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f60c63c090114a6b5f0ba0a7aacd67e6c92920e7'/>
<id>urn:sha1:f60c63c090114a6b5f0ba0a7aacd67e6c92920e7</id>
<content type='text'>
llvm-svn: 349178
</content>
</entry>
<entry>
<title>[libc++] Improve diagnostics for non-const comparators and hashers in associative containers</title>
<updated>2018-12-06T21:46:17+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2018-12-06T21:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3560fbf3049045bf2ac3f3ecb1ddeb73cbe946cf'/>
<id>urn:sha1:3560fbf3049045bf2ac3f3ecb1ddeb73cbe946cf</id>
<content type='text'>
Summary:
When providing a non-const-callable comparator in a map or set, the
warning diagnostic does not include the point of instantiation of
the container that triggered the warning, which makes it difficult
to track down the problem. This commit improves the diagnostic by
placing it directly in the body of the associative container.

The same change is applied to unordered associative containers, which
had a similar problem.

Finally, this commit cleans up the forward declarations of several
map and unordered_map helpers, which are not needed anymore.

&lt;rdar://problem/41370747&gt;

Reviewers: EricWF, mclow.lists

Subscribers: christof, dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D48955

llvm-svn: 348529
</content>
</entry>
</feed>
