Eric Fiselier
3c35491f02
Update all bug URL's to point to https://bugs.llvm.org/ ...
...
llvm-svn: 295434
2017-02-17 08:37:03 +00:00
Stephan T. Lavavej
a730ed3149
[libcxx] [test] Fix comment typos, strip trailing whitespace.
...
No functional change, no code review.
llvm-svn: 292434
2017-01-18 20:10:25 +00:00
Eric Fiselier
06e9017d7b
Fix C++03 failure in enable_shared_from_this test
...
llvm-svn: 273836
2016-06-27 00:38:28 +00:00
Eric Fiselier
39005d3019
Fix PR27115 - enable_shared_from_this does not work as a virtual base class.
...
See https://llvm.org/bugs/show_bug.cgi?id=27115
The problem was that the conversion from
'const enable_shared_from_this<T>*' to 'const T*' didn't work if
T inherited enable_shared_from_this as a virtual base class. The fix
is to take the original pointer passed to shared_ptr's constructor in the
__enable_weak_this method and perform an upcast to 'const T*' instead of
performing a downcast from the enable_shared_from_this base.
llvm-svn: 273835
2016-06-26 23:56:32 +00:00
Eric Fiselier
7cf29e3468
Fix leak in __enable_weak_this(). Thanks to Arthur O'Dwyer for finding it.
...
llvm-svn: 271487
2016-06-02 04:57:00 +00:00
Eric Fiselier
39a724ea36
Remove enable_shared_from_this test since it leaks the control block and fails with ASAN
...
llvm-svn: 271459
2016-06-02 01:09:12 +00:00
Eric Fiselier
88f5bfdc5b
Implement P0033R1 - Re-enabling shared_from_this
...
Summary: See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0033r1.html
Reviewers: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19254
llvm-svn: 271449
2016-06-02 00:15:35 +00:00
Marshall Clow
55112defb0
Fix PR#18843. Thanks to Howard for the fix
...
llvm-svn: 240136
2015-06-19 15:54:13 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00