summaryrefslogtreecommitdiffstats
path: root/libcxx/src
Commit message (Collapse)AuthorAgeFilesLines
...
* noexcept for Chapter 22 [localization].Howard Hinnant2011-05-311-53/+53
| | | | llvm-svn: 132337
* noexcept for <chrono>.Howard Hinnant2011-05-281-5/+5
| | | | llvm-svn: 132265
* noexcept for <memory>. I've added a few extension noexcept to: ↵Howard Hinnant2011-05-283-15/+15
| | | | | | allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default| llvm-svn: 132261
* Applied noexcept to everything in [diagnostics] (Chapter 19)Howard Hinnant2011-05-264-35/+35
| | | | llvm-svn: 132137
* Applied noexcept to everything in [language.support] (Chapter 18)Howard Hinnant2011-05-263-37/+37
| | | | llvm-svn: 132129
* Added [[noreturn]] attribute everywhere it should beHoward Hinnant2011-05-261-2/+4
| | | | llvm-svn: 132125
* Chris Jefferson noted many places where function calls needed to be ↵Howard Hinnant2011-02-143-7/+7
| | | | | | qualified (thanks Chris). llvm-svn: 125510
* clang found a missing return statement.Howard Hinnant2011-01-271-0/+1
| | | | llvm-svn: 124431
* Effort to reduce the number of exported symbolsHoward Hinnant2010-12-171-3/+18
| | | | llvm-svn: 122057
* Add CMake build and fix major Linux blockers.Michael J. Spencer2010-12-101-3/+118
| | | | llvm-svn: 121510
* Add a couple more std-qualifers.Howard Hinnant2010-12-061-2/+2
| | | | llvm-svn: 121002
* oops, forgot std::Howard Hinnant2010-12-041-1/+1
| | | | llvm-svn: 120915
* Fix up uses of new/terminate/unexpected handlers to use the new getters.Howard Hinnant2010-12-042-4/+5
| | | | llvm-svn: 120914
* N3189 Observers for the three handler functionsHoward Hinnant2010-12-022-9/+21
| | | | llvm-svn: 120712
* Implemented N3194Howard Hinnant2010-11-301-35/+0
| | | | llvm-svn: 120458
* N3191: C++ Timeout SpecificationHoward Hinnant2010-11-201-18/+18
| | | | llvm-svn: 119909
* LWG 1323Howard Hinnant2010-11-171-2/+2
| | | | llvm-svn: 119560
* license changeHoward Hinnant2010-11-1623-46/+46
| | | | llvm-svn: 119395
* Dave Zarzycki showed how the efficiency of shared_ptr could be significantlyHoward Hinnant2010-11-161-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'; } llvm-svn: 119388
* Secure __next_prime from overflowingHoward Hinnant2010-10-291-0/+24
| | | | llvm-svn: 117650
* Changing <atomic> to follow Design AHoward Hinnant2010-10-181-23/+0
| | | | llvm-svn: 116742
* Convert __thread_local_data to the singleton patternHoward Hinnant2010-10-143-4/+9
| | | | llvm-svn: 116500
* Still working on the basic design of <atomic>. I'm working towards a system ↵Howard Hinnant2010-10-041-0/+23
| | | | | | 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... llvm-svn: 115538
* Bug 8254 by Bernhard RosenkraenzerHoward Hinnant2010-10-021-0/+2
| | | | llvm-svn: 115430
* Experimenting with a new forward fomulation (kudos Daniel Kruegler), updated ↵Howard Hinnant2010-09-131-148/+198
| | | | | | insert iterators to work better with pproxies, and doubled the speed of __next_prime. llvm-svn: 113731
* <rdar://problem/8279559> [libstdcxx] use new linker options to make symbols ↵Nick Kledzik2010-09-101-0/+9
| | | | | | non-weak llvm-svn: 113616
* Fix whitespaceHoward Hinnant2010-09-041-1/+0
| | | | llvm-svn: 113089
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-041-2/+2
| | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086
* Fix typos, noticed by Clang.Daniel Dunbar2010-09-042-2/+2
| | | | llvm-svn: 113061
* [futures.atomic_future] and notify_all_at_thread_exit. This completes the ↵Howard Hinnant2010-09-033-0/+63
| | | | | | header <future> and all of Chapter 30 (for C++0x enabled compilers). llvm-svn: 113017
* [futures.shared_future]Howard Hinnant2010-09-031-0/+17
| | | | llvm-svn: 112990
* [futures.task] and [futures.async]. Requires variadics and rvalue-ref support.Howard Hinnant2010-08-301-6/+29
| | | | llvm-svn: 112500
* future continues ...Howard Hinnant2010-08-272-0/+212
| | | | llvm-svn: 112284
* Getting started on <future>Howard Hinnant2010-08-251-0/+63
| | | | llvm-svn: 112061
* Remove tabsHoward Hinnant2010-08-222-25/+25
| | | | llvm-svn: 111778
* Fixing whitespace problemsHoward Hinnant2010-08-2216-156/+129
| | | | llvm-svn: 111751
* now works with -fno-exceptions and -fno-rttiHoward Hinnant2010-08-119-2/+144
| | | | llvm-svn: 110828
* continued regex development...Howard Hinnant2010-07-271-0/+4
| | | | llvm-svn: 109512
* A good start on ecma regex's. Maybe even feature complete, not sure yet. ↵Howard Hinnant2010-07-271-0/+58
| | | | | | Also an unrelated fix to is_constructible thanks to Daniel Krugler. llvm-svn: 109479
* Continuing to work through regex, and updated libcxx_by_chapter.pdf with ↵Howard Hinnant2010-06-241-14/+21
| | | | | | weekly test results llvm-svn: 106790
* Finished [re.traits]. I'd like to acknowledge the help of Bjorn Reese with ↵Howard Hinnant2010-06-211-2/+47
| | | | | | <regex>. llvm-svn: 106478
* Just getting our toes wet on <regex>Howard Hinnant2010-06-171-0/+203
| | | | llvm-svn: 106187
* [util.smartptr.hash]Howard Hinnant2010-06-031-1/+1
| | | | llvm-svn: 105393
* [string.conversions]Howard Hinnant2010-06-022-55/+690
| | | | llvm-svn: 105336
* [conversions.string]Howard Hinnant2010-05-311-3/+3
| | | | llvm-svn: 105254
* [locale.stdcvt]Howard Hinnant2010-05-301-252/+2037
| | | | llvm-svn: 105174
* [except.nested]Howard Hinnant2010-05-271-0/+17
| | | | llvm-svn: 104850
* Completed [alg.random.shuffle].Howard Hinnant2010-05-261-0/+35
| | | | llvm-svn: 104708
* For compiling on FreeBSDHoward Hinnant2010-05-251-0/+1
| | | | llvm-svn: 104616
* patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was ↵Howard Hinnant2010-05-2410-72/+79
| | | | | | accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient. llvm-svn: 104516
OpenPOWER on IntegriCloud