- Sep 03, 2013
-
-
Marshall Clow authored
llvm-svn: 189831
-
Marshall Clow authored
llvm-svn: 189812
-
- Sep 02, 2013
-
-
Howard Hinnant authored
llvm-svn: 189772
-
- Aug 31, 2013
-
-
Howard Hinnant authored
SFINAE out duration converting constructor if the constructor would otherwise cause a ratio compile-time overflow. This fixes LWG 2094. llvm-svn: 189722
-
- Aug 30, 2013
-
-
Howard Hinnant authored
is_destructible for function types was mistakenly returning true instead of false. This is true in both C++11 and C++1y, but has been clarified by the post C++11 LWG issue 2049. llvm-svn: 189687
-
Howard Hinnant authored
llvm-svn: 189674
-
Marshall Clow authored
llvm-svn: 189634
-
Howard Hinnant authored
llvm-svn: 189626
-
Howard Hinnant authored
llvm-svn: 189623
-
- Aug 29, 2013
-
-
Howard Hinnant authored
Turn off extern templates for most uses. It is causing more problems than it is worth. The extern templates will still be built into the dylib, mainly for ABI stability purposes. And the client can still turn these back on with a #define if desire. This fixes http://llvm.org/bugs/show_bug.cgi?id=17027. However there's no associated test for the test suite because http://llvm.org/bugs/show_bug.cgi?id=17027 needs mismatched dylib and headers to fire. llvm-svn: 189610
-
- Aug 27, 2013
-
-
Marshall Clow authored
llvm-svn: 189399
-
Marshall Clow authored
LWG issues 2174/5/6 - mark wstring_convert::converted as noexcept, and make (some of) the constructors for wstring_convert and wbuffer_convert as explicit. Add configuration macro _LIBCPP_EXPLICIT_AFTER_CXX11 llvm-svn: 189398
-
Marshall Clow authored
llvm-svn: 189352
-
Marshall Clow authored
llvm-svn: 189345
-
- Aug 26, 2013
-
-
Howard Hinnant authored
llvm-svn: 189271
-
- Aug 24, 2013
-
-
Howard Hinnant authored
llvm-svn: 189184
-
- Aug 23, 2013
-
-
Howard Hinnant authored
llvm-svn: 189140
-
Howard Hinnant authored
Remove _LIBCPP_DEBUG. This was my first attempt at debug mode for libc++, and is now obsoleted by _LIBCPP_DEBUG2 (which isn't finished). llvm-svn: 189135
-
Howard Hinnant authored
Debug mode for string. This commit also marks the first time libc++ debug-mode has found a bug (found one in regex). Had to play with extern templates a bit to get this to work since string is heavily used within libc++.dylib. llvm-svn: 189114
-
- Aug 22, 2013
-
-
Howard Hinnant authored
llvm-svn: 189046
-
Howard Hinnant authored
Zhihao Yuan noted that there were a few unneeded statements. Eliminated the unnecessary ones, and commented the ones that are there for non-obvious reasons such as to help things limp along in C++03 language mode. llvm-svn: 189039
-
Howard Hinnant authored
Zhihao Yuan noted that a move assignment operation was missing from std::adjacent_difference. Fixed. llvm-svn: 189036
-
Howard Hinnant authored
David Blaikie suggested this test for detecting constexpr on the error_category default constructor. Additionally I decided to make this constructor trivial as well, as I could not come up with a rationale for not doing so. Fully tested with both current Apple clang and tip-of-trunk clang. llvm-svn: 189034
-
- Aug 21, 2013
-
-
Marshall Clow authored
LWG 2145 - mark constructor for std::error_category as inline and constexpr. Leave the (existing, out-of-line, non-constexpr) in the dylib for compatibility with existing programs) llvm-svn: 188858
-
- Aug 14, 2013
-
-
Howard Hinnant authored
Relax complete-type check for functions and function pointers to allow void return type. This bug was exposed by Eli Friedman's commit to clang r188324. Anywhere this version of clang ships, this libc++ fix must follow. However this fix is compatible with previous clangs, and so this libc++ doesn't need to wait for this clang. llvm-svn: 188413
-
Howard Hinnant authored
llvm-svn: 188396
-
Marshall Clow authored
llvm-svn: 188375
-
Marshall Clow authored
llvm-svn: 188333
-
Marshall Clow authored
llvm-svn: 188320
-
- Aug 13, 2013
-
-
Marshall Clow authored
llvm-svn: 188241
-
- Aug 12, 2013
-
-
Howard Hinnant authored
Nico Rieck: this patch series fixes visibility issues on Windows as explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>. llvm-svn: 188192
-
- Aug 09, 2013
-
-
Howard Hinnant authored
Add a check for arrays of unknown bounds to is_destructible. This fixes http://llvm.org/bugs/show_bug.cgi?id=16839 llvm-svn: 188080
-
Howard Hinnant authored
Partial implementation of N3665. This paper was not voted into the C++1y draft. However I was looking at it and with some experimentation realized that I could partially implement it, and at the same time offer a performance optimization to cout. I simply added an xsputn override to the cout filebuf. The override does nothing special at all if there is a non-trivial codecvt installed. However if the codecvt returns true for always_noconv(), then this function can dump an entire string to fwrite, instead of doing it a character at a time under overflow(). This just makes sense. I stopped short of a full implementation of N3665 because in order to do so, xsputn would have to allocate a buffer when always_noconv() returned false, and I don't want to go to that expense. llvm-svn: 188077
-
- Aug 08, 2013
-
-
Marshall Clow authored
N3644 tests for map/multimap/set/multiset. Drive-by NOEXCEPT for __tree_const_iterator constructor. Fix comment typos in other tests llvm-svn: 188019
-
Howard Hinnant authored
My previous reorganization of addressof broke -std=c++03. Thanks much to Arnold Schwaighofer for catching this. This patch also catches a few more missing addressof in <future>, thanks go to Zhihao Yuan for catching these. llvm-svn: 187997
-
Arnold Schwaighofer authored
Zhihao Yuan: Replace operator& with addressof in reference_wrapper constructor. It breaks a clang bootstrap. llvm-svn: 187959
-
Howard Hinnant authored
llvm-svn: 187927
-
- Aug 07, 2013
-
-
Marshall Clow authored
llvm-svn: 187915
-
Marshall Clow authored
llvm-svn: 187911
-
Marshall Clow authored
llvm-svn: 187909
-