Howard Hinnant
|
f8f852138f
|
N3191: C++ Timeout Specification
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119909 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-20 19:16:30 +00:00 |
|
Howard Hinnant
|
f048fe3a09
|
N3123
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119906 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-20 18:25:22 +00:00 |
|
Howard Hinnant
|
1468b668aa
|
N3142. Many of these traits are just placeholders with medium quality emulation; waiting on compiler intrinsics to do it right.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119854 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-19 22:17:28 +00:00 |
|
Howard Hinnant
|
01feecb789
|
type_traits intrinsics design
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119776 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-19 01:48:13 +00:00 |
|
Howard Hinnant
|
9835d76169
|
type_traits intrinsics design
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119775 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-19 01:38:58 +00:00 |
|
Howard Hinnant
|
995676a98e
|
LWG 1522
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119710 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-18 17:34:48 +00:00 |
|
Howard Hinnant
|
9650b6cce3
|
LWG 1439
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119703 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-18 17:01:36 +00:00 |
|
Howard Hinnant
|
2f6a627394
|
LWG 1339
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119699 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-18 16:13:03 +00:00 |
|
Howard Hinnant
|
278bf2d289
|
LWG 1432
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119611 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-18 01:47:02 +00:00 |
|
Howard Hinnant
|
47761071be
|
LWG 1404
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119609 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-18 01:40:00 +00:00 |
|
Howard Hinnant
|
34d6b19721
|
LWG 1325
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119571 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-17 21:53:14 +00:00 |
|
Howard Hinnant
|
7b2cb48cc1
|
LWG 1323
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119560 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-17 21:11:40 +00:00 |
|
Howard Hinnant
|
cd2254b454
|
LWG 1191
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119545 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-17 19:52:17 +00:00 |
|
Howard Hinnant
|
86ed8aefb2
|
LWG 1118
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119541 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-17 19:22:43 +00:00 |
|
Howard Hinnant
|
e32b5e2f23
|
Update <string> to use allocator_traits.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119522 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-17 17:55:08 +00:00 |
|
Howard Hinnant
|
b64f8b07c1
|
license change
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119395 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-16 22:09:02 +00:00 |
|
Chris Lattner
|
f38bc6efc5
|
libc++ is now dual licensed under both UIUC and MIT licenses.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119391 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-16 21:40:19 +00:00 |
|
Chris Lattner
|
662497edd2
|
add a credits file for libc++
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119390 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-16 21:39:15 +00:00 |
|
Howard Hinnant
|
28dbbe0596
|
Dave Zarzycki showed how the efficiency of shared_ptr could be significantly
increased. The following program is running 49% faster:
#include <iostream>
#include <memory>
#include <chrono>
#include <vector>
#include "chrono_io"
int main()
{
typedef std::chrono::high_resolution_clock Clock;
Clock::time_point t0 = Clock::now();
{
std::shared_ptr<int> p(new int (1));
std::vector<std::shared_ptr<int> > v(1000000, p);
v.insert(v.begin(), p);
v.insert(v.begin(), p);
v.insert(v.begin(), p);
v.insert(v.begin(), p);
}
Clock::time_point t1 = Clock::now();
std::cout << (t1-t0) << '\n';
}
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119388 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-16 21:33:17 +00:00 |
|
Howard Hinnant
|
726a76fb47
|
I have reverted all contributions made by Jesse Towner in revision 110724
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119383 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-11-16 21:10:23 +00:00 |
|
Nick Kledzik
|
a8feecea67
|
update to use new linker option to re-export from libc++abi.dylb
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@117691 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-29 19:46:14 +00:00 |
|
Howard Hinnant
|
e87ad178cc
|
Secure __next_prime from overflowing
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@117650 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-29 14:10:30 +00:00 |
|
Howard Hinnant
|
4e59948249
|
Fixed bug in random_shuffle to avoid swapping with self
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@117098 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-22 15:26:39 +00:00 |
|
Howard Hinnant
|
bce9c3132d
|
[atomics.types.address]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@117033 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-21 17:44:19 +00:00 |
|
Howard Hinnant
|
f26262dde0
|
Updated chart with weekly test results, and updated export files for chnages in <atomic>.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116943 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-20 20:15:14 +00:00 |
|
Howard Hinnant
|
5bbe97ddaa
|
atomic_schar, atomic_uchar, atomic_short, atomic_ushort, atomic_int, atomic_uint, atomic_long, atomic_ulong, atomic_llong, atomic_ullong, atomic_char16_t, atomic_char32_t and atomic_wchar_t.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116860 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-19 21:22:10 +00:00 |
|
Howard Hinnant
|
e738501eb3
|
atomic_char
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116813 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-19 16:51:18 +00:00 |
|
Howard Hinnant
|
21ef47f436
|
Changing <atomic> to follow Design A
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116742 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-18 20:39:07 +00:00 |
|
Howard Hinnant
|
be22ed405a
|
Update atomic Design A spec with reference C++ implementations for the purpose of documeting the semantics of each atomic operation.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116713 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-18 16:40:13 +00:00 |
|
Howard Hinnant
|
f6fe084fd4
|
Update atomic Design A spec
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116707 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-18 16:02:24 +00:00 |
|
Howard Hinnant
|
0d5dff1897
|
Fix two test bugs
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116515 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-14 21:08:32 +00:00 |
|
Howard Hinnant
|
b742dcdd52
|
Convert __thread_local_data to the singleton pattern and change export files...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116501 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-14 19:24:23 +00:00 |
|
Howard Hinnant
|
5306d68019
|
Convert __thread_local_data to the singleton pattern
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116500 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-14 19:18:04 +00:00 |
|
Howard Hinnant
|
8177207f3c
|
Bug 7983 fixed by Bernhard Rosenkraenzer
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116487 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-14 17:11:39 +00:00 |
|
Nick Kledzik
|
f9734c831f
|
temporarily use cc to link instead of clang to work around issue with -Xarch
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116435 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 21:12:41 +00:00 |
|
Nick Kledzik
|
373a9d18d3
|
update export list for when building with clang++
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116434 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 21:11:52 +00:00 |
|
Howard Hinnant
|
4d89249185
|
updated for weekly test results
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116425 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 20:24:31 +00:00 |
|
Howard Hinnant
|
3c143ad882
|
Patch by Marshall Clow to make the assignment operators of piecewise_constant_distribution and piecewise_linear_distribution exception safe.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116404 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-13 14:37:09 +00:00 |
|
Howard Hinnant
|
08f2969220
|
Updated atomic design docs
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@116065 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-08 17:36:50 +00:00 |
|
Howard Hinnant
|
ffb9a4e235
|
Corrected an inconsistency with recent changes in tuple, and perfect forwarding within bind
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115930 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 18:03:23 +00:00 |
|
Howard Hinnant
|
251aaa1064
|
Relaxing timing test a bit to avoid spurious test failures under load
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115920 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 16:25:31 +00:00 |
|
Howard Hinnant
|
77868b9d9a
|
Update atomic design A
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115913 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-07 14:18:37 +00:00 |
|
Howard Hinnant
|
086b718734
|
Updated <atomic> docs with three design options
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115791 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-06 16:15:10 +00:00 |
|
Howard Hinnant
|
e78d1f548b
|
A compiler writer's guide to <atomic>, minor update
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115633 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-05 17:22:28 +00:00 |
|
Howard Hinnant
|
56f0d5be06
|
A compiler writer's guide to <atomic>
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115629 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-05 16:44:40 +00:00 |
|
Howard Hinnant
|
6cac2c2c9c
|
Make flag type configurable by the compiler
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115614 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-05 14:02:23 +00:00 |
|
Howard Hinnant
|
b4ac745466
|
Thanks Sebastian\!
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115612 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-05 13:38:23 +00:00 |
|
Howard Hinnant
|
002f1d341b
|
Filling out the infrastructure in <atomic>
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115577 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-04 23:55:35 +00:00 |
|
Howard Hinnant
|
26994e383c
|
__has_feature crutch
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115540 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-04 19:01:30 +00:00 |
|
Howard Hinnant
|
611fdaf229
|
Still working on the basic design of <atomic>. I'm working towards a system by which the compiler only needs to define the strongest intrinsics it can. Weaker atomics in the library automatically try stronger and stronger variants, picking the weakest compiler intrinsic available. If no compiler intrinsics are available for a given operation, the library locks a mutex and does the job. Better documentation to follow...
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115538 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-10-04 18:52:54 +00:00 |
|