| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 154526
|
|
|
|
|
|
|
|
|
|
| |
Per discussion with Howard, we are not interested in maintaining
compatibility with older versions of clang.
All tests pass with ToT clang, except for two which assert due to
a pre-existing, unrelated bug.
llvm-svn: 154521
|
|
|
|
|
|
|
| |
initialisation, do the right thing with regard to atomic initialisation.
Note: clang r154507 or later required for <atomic> to work now.
llvm-svn: 154508
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compare-and-exchange failed (it should update the expected value to the current
value, and the tests were checking that it didn't...).
Results of the atomics part of the test suite on FreeBSD with clang trunk and
the atomic.c from compiler-rt (currently kludged into the test, not installed
properly):
****************************************************
Results for /root/libc++/test/atomics:
using clang version 3.1 (trunk 153415)
Target: x86_64-unknown-freebsd10.0
Thread model: posix
with -std=c++0x -stdlib=libc++ -pthread /tmp/atomic.o
----------------------------------------------------
sections without tests : 0
sections with failures : 0
sections without failures: 14
+ ----
total number of sections : 14
----------------------------------------------------
number of tests failed : 0
number of tests passed : 52
+ ----
total number of tests : 52
****************************************************
Yay!
llvm-svn: 154095
|
|
|
|
|
|
|
|
| |
copyable.
Now all of the test cases compile. Some of them even run!
llvm-svn: 154094
|
|
|
|
| |
llvm-svn: 154093
|
|
|
|
|
|
| |
clients are in C++11/constexpr mode this will be safely ignored because piecewise_construct is then declared with internal linkage.
llvm-svn: 153981
|
|
|
|
| |
llvm-svn: 153968
|
|
|
|
| |
llvm-svn: 153955
|
|
|
|
| |
llvm-svn: 153896
|
|
|
|
| |
llvm-svn: 153888
|
|
|
|
|
|
| |
addresses http://llvm.org/bugs/show_bug.cgi?id=12436.
llvm-svn: 153873
|
|
|
|
|
|
| |
This by no means completes constexpr support. Indeed, it hardly scratches the surface. All it does is lay the foundation in <__config> and changes those few places in the library that are already using that foundation.
llvm-svn: 153856
|
|
|
|
|
|
| |
is/will be making convincing arguments that a modified form of LWG 2051 (currently NAD Future) is easily acheivable and desirable. He has demonstrated that a tuple<T...> where all of the T are implicitly convertible from U... should have a tuple constructor that is also implicit, instead of explicit. This would support the use cases in LWG 2051 while not undermining T... with explicit conversions from U.... This check-in is an experimental implementation of Daniel's work. I believe this work to be mature enough to warrant inclusion into libc++. If anyone sees real-world problems that this check in causes, please let me know and I will revert it, and provide the feedback to the LWG.
llvm-svn: 153855
|
|
|
|
|
|
| |
for error_category. I'm putting it back in. This fixes http://llvm.org/bugs/show_bug.cgi?id=12321.
llvm-svn: 153194
|
|
|
|
|
|
| |
part is just some renaming as the variable was already in use, conflicting with something else in the LLVM tree. Contributed by Ruben Van Boxem.
llvm-svn: 153036
|
|
|
|
|
|
| |
chain, and thus never get destructed.
llvm-svn: 152926
|
|
|
|
| |
llvm-svn: 152718
|
|
|
|
| |
llvm-svn: 152717
|
|
|
|
| |
llvm-svn: 152716
|
|
|
|
| |
llvm-svn: 152501
|
|
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=12185.
llvm-svn: 152240
|
|
|
|
|
|
| |
try to define C++ keywords as typedefs (fixed in Solaris 11).
llvm-svn: 151890
|
|
|
|
|
|
| |
Sorry for the churn.
llvm-svn: 151731
|
|
|
|
| |
llvm-svn: 151729
|
|
|
|
| |
llvm-svn: 151728
|
|
|
|
|
|
| |
unsure what the change was trying to do, but it didn't do the right thing for __APPLE__. So instead of trying to guess what was intended, I'm just putting it back the way it was.
llvm-svn: 151727
|
|
|
|
| |
llvm-svn: 151721
|
|
|
|
|
|
|
|
|
|
| |
Solaris not providing some of the locales that the test suite uses.
Note: This depends on an xlocale (partial) implementation for Solaris and a
couple of fixed standard headers. These will be committed to a branch later
today.
llvm-svn: 151720
|
|
|
|
| |
llvm-svn: 151719
|
|
|
|
| |
llvm-svn: 151718
|
|
|
|
| |
llvm-svn: 151717
|
|
|
|
|
|
| |
This fixes http://llvm.org/bugs/show_bug.cgi?id=12105.
llvm-svn: 151652
|
|
|
|
|
|
| |
and did a little drive-by optimization at the same time. This fixes http://llvm.org/bugs/show_bug.cgi?id=12085.
llvm-svn: 151492
|
|
|
|
| |
llvm-svn: 151461
|
|
|
|
|
|
| |
I'm having trouble reexporting it as a weak symbol.
llvm-svn: 151459
|
|
|
|
| |
llvm-svn: 151453
|
|
|
|
| |
llvm-svn: 151451
|
|
|
|
|
|
| |
__is_trivially_assignable traits. Fixes r10925427 and http://llvm.org/bugs/show_bug.cgi?id=12038.
llvm-svn: 151406
|
|
|
|
| |
llvm-svn: 151108
|
|
|
|
|
|
| |
(library wide). This fixes http://llvm.org/bugs/show_bug.cgi?id=12058.
llvm-svn: 151088
|
|
|
|
|
|
| |
adding support for nullptr, and using less<T*>. Fixes http://llvm.org/bugs/show_bug.cgi?id=12056.
llvm-svn: 151084
|
|
|
|
| |
llvm-svn: 150965
|
|
|
|
| |
llvm-svn: 150964
|
|
|
|
| |
llvm-svn: 150935
|
|
|
|
|
|
| |
the uninitialized fields, probably the pointer field tm_zone, was causing a segfault on linux. Patch contributed by Jeffrey Yasskin.
llvm-svn: 150929
|
|
|
|
|
|
| |
Jeffrey Yasskin.
llvm-svn: 150927
|
|
|
|
| |
llvm-svn: 150893
|
|
|
|
| |
llvm-svn: 150887
|
|
|
|
| |
llvm-svn: 150835
|