cxx/include
David Chisnall 83b2c84a3c Some fixes to <atomic> operations to explicitly use atomic types and operations.
The integral types now work with clang trunk (if you remove the guard), although we're still missing an intrinsic for initialising atomics (needed for C1x too).

Howard: Please review.



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@146865 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-19 11:44:20 +00:00
..
ext Fix http://llvm.org/bugs/show_bug.cgi?id=11461. Credit Alberto Ganesh Barbati. 2011-12-11 20:31:33 +00:00
support/win32 Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
__bit_reference Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__config Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
__debug Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__functional_03 Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__functional_base Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__functional_base_03 Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__hash_table As an extension, support incomplete types in the unordered containers to match what we already do in the associative containers. 2011-12-12 17:26:24 +00:00
__locale Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__mutex_base Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
__split_buffer Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__sso_allocator Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__std_stream Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__tree Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
__tuple Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
__tuple_03 Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
__undef_min_max Add protection from min/max macros 2011-11-29 16:45:27 +00:00
algorithm Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
array Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
atomic Some fixes to <atomic> operations to explicitly use atomic types and operations. 2011-12-19 11:44:20 +00:00
bitset Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
cassert Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
ccomplex Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cctype More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
cerrno Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cfenv Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cfloat Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
chrono Add protection from min/max macros 2011-11-29 16:45:27 +00:00
cinttypes Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
ciso646 Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
climits Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
clocale Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cmath Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
codecvt Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
complex Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
complex.h Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
condition_variable Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
csetjmp Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
csignal Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdarg Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdbool Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstddef Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdint Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cstdio More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
cstdlib Windows port work by Ruben Van Boxem 2011-10-27 16:24:42 +00:00
cstring More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
ctgmath Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
ctime Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
cwchar More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
cwctype Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
deque Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
exception Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
forward_list Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
fstream Add protection from min/max macros 2011-11-29 16:45:27 +00:00
functional Version #next on the hash functions for scalars. This builds on Dave's work, extends it to T*, and changes the way double and long double are handled (no longer convert to float on 32 bit). I also picked up a minor bug with uninitialized bits on the upper end of size_t when sizeof(size_t) > sizeof(T), e.g. in hash<float>. Most of the functionality has been put in one place: __scalar_hash in <memory>. Unfortunately I could not reuse __scalar_hash for hash<long double> on x86 because of the padding bits which need to be zeroed. I didn't want to add this zeroing step to the more general __scalar_hash when it isn't needed (in the absence of padding bits). I'm not ignoring the hash<string> issue (possibly changing that to a better hash). I just haven't gotten there yet. 2011-12-03 21:11:36 +00:00
future Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
initializer_list Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
iomanip Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
ios Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
iosfwd Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
iostream Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
istream Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
iterator Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
limits Add protection from min/max macros 2011-11-29 16:45:27 +00:00
list Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
locale Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
map Fix http://llvm.org/bugs/show_bug.cgi?id=11461. Credit Alberto Ganesh Barbati. 2011-12-11 20:31:33 +00:00
memory Allow unique_ptr<T const []> to be constructed and assigned from a unique_ptr<T[]> 2011-12-18 21:19:44 +00:00
mutex Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
new Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
numeric More windows port work by Ruben Van Boxem 2011-10-22 20:59:45 +00:00
ostream Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
queue Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
random Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
ratio Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
regex Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
scoped_allocator Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
set Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
sstream Add protection from min/max macros 2011-11-29 16:45:27 +00:00
stack Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
stdexcept Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
streambuf Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
string Installation of CityHash by Craig Silverstein 2011-12-10 20:28:56 +00:00
strstream Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
system_error Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
tgmath.h Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
thread Starting using murmur2 when combining multiple size_t's into a single hash, and also for basic_string. Also made hash<thread::id> ever so slighly more portable. I had to tweak one test which is questionable (definitely not portable) anyway. 2011-12-05 00:08:45 +00:00
tuple Fix http://llvm.org/bugs/show_bug.cgi?id=11461. Credit Alberto Ganesh Barbati. 2011-12-11 20:31:33 +00:00
type_traits Fix http://llvm.org/bugs/show_bug.cgi?id=11459. Patch supplied by Alberto Ganesh Barbati. 2011-12-02 20:41:47 +00:00
typeindex Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
typeinfo Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
unordered_map As an extension, support incomplete types in the unordered containers to match what we already do in the associative containers. 2011-12-12 17:26:24 +00:00
unordered_set Windows support by Ruben Van Boxem. 2011-10-17 20:05:10 +00:00
utility Further macro protection by replacing _[A-Z] with _[A-Z]p 2011-11-29 18:15:50 +00:00
valarray Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00
vector Quash a whole bunch of warnings 2011-12-01 20:21:04 +00:00