summaryrefslogtreecommitdiffstats
path: root/libcxx/include/exception
Commit message (Collapse)AuthorAgeFilesLines
* Make make_exception_ptr abort with -fno-exceptionsEric Fiselier2016-12-031-1/+4
| | | | llvm-svn: 288575
* Try 2 - Remove <cstdlib> include from `<exception>`Eric Fiselier2016-09-061-4/+0
| | | | | | | | | | | This patch removes the `<cstdlib>` include from exception where it is no longer needed. Unlike my previous attempt this patch also adds <cstdlib> where needed in other headers like <new> and <typeinfo>. This won't fix the Firefox build issues discussed on IRC but it is more correct for libc++. llvm-svn: 280754
* Revert r280743 and r280745. Remove <cstdlib> include from `<exception>`Eric Fiselier2016-09-061-0/+4
| | | | | | | Apparently I missed a number of additional include which need to be added. Reverting so I can recommit as a single patch with all of the required includes. llvm-svn: 280752
* Remove unneeded includes in <exception> after removing __libcpp_throwEric Fiselier2016-09-061-4/+0
| | | | llvm-svn: 280743
* Followon to r279744. Find the other exception types and make __throw_XXX ↵Marshall Clow2016-08-251-15/+0
| | | | | | routines (and call them). Remove the generic __libcpp_throw routine, since no one uses it anymore. llvm-svn: 279763
* Fix typo it _LIBCPP_NO_EXCEPTIONS macroEric Fiselier2016-05-071-2/+2
| | | | llvm-svn: 268838
* Add <experimental/memory_resource>Eric Fiselier2016-05-071-0/+19
| | | | | | | | | | Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20007 llvm-svn: 268829
* Fix a corner case that involved calling rethrow_if_nested with a type that ↵Marshall Clow2015-12-141-1/+1
| | | | | | had a deleted operator&. Added a test to catch this as well. Thanks to Ville for the heads-up. llvm-svn: 255517
* [libcxx] Fix detection of __is_final.Eric Fiselier2015-06-131-6/+2
| | | | | | | | | | | | | | Summary: Currently we only enable the use of __is_final(...) with Clang. GCC also provides __is_final(...) since 4.7 in all standard modes. This patch creates the macro _LIBCPP_HAS_IS_FINAL to note the availability of `__is_final`. Reviewers: danalbert, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8795 llvm-svn: 239664
* Implement uncaught_exceptions() using the newly added hooks in libc++abi, ↵Marshall Clow2015-06-021-1/+3
| | | | | | when available llvm-svn: 238846
* Fix building and testing libc++ with GCC.Eric Fiselier2015-05-201-2/+2
| | | | | | | | | | | | | | | | The changes in src/exception.cpp and cmake/Modules/HandleLibCXXABI.cmake fix a bug when building libc++ with GCC. Because GCC does not support __has_include we need to explicitly tell it that we are building against libc++abi via the preprocessor definition `LIBCXX_BUILDING_LIBCXXABI`. The changes in include/ratio are to work around CWG defect 1712 (constexpr variable template declarations). GCC 4.8 and before has not adopted the resolution to this defect. The changes in include/exception work around an issue where is_final is used without it being defined in type_traits. llvm-svn: 237767
* Fix a problem when calling throw_with_nested with a class marked 'final'. ↵Marshall Clow2015-03-161-0/+6
| | | | | | Thanks to STL @ Microsoft for the bug report. llvm-svn: 232384
* Nico Rieck: this patch series fixes visibility issues on Windows as ↵Howard Hinnant2013-08-121-4/+4
| | | | | | explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>. llvm-svn: 188192
* No functionality change at this time. I've split _LIBCPP_VISIBLE up into ↵Howard Hinnant2013-03-061-9/+9
| | | | | | two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. llvm-svn: 176593
* Remove 'noreturn' attribute from friend declaration. This attribute will beRichard Smith2012-11-291-1/+1
| | | | | | | inherited from the previous out-of-class declaration, and attributes on friend function declarations are ill-formed in C++11. llvm-svn: 168853
* Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you ↵Howard Hinnant2012-09-141-1/+1
| | | | | | send me a patch to CREDITS.TXT? llvm-svn: 163862
* libc++: switch from using _ATTRIBUTE(noreturn) (which conflicts with aRichard Smith2012-07-261-7/+7
| | | | | | platform-provided macro on some systems) to _LIBCPP_NORETURN. llvm-svn: 160773
* Modernize conversion to bool to the explicit bool conversion operator ↵Howard Hinnant2012-02-211-1/+1
| | | | | | (library wide). This fixes http://llvm.org/bugs/show_bug.cgi?id=12058. llvm-svn: 151088
* Quash a whole bunch of warningsHoward Hinnant2011-12-011-1/+1
| | | | llvm-svn: 145624
* Further macro protection by replacing _[A-Z] with _[A-Z]pHoward Hinnant2011-11-291-8/+8
| | | | llvm-svn: 145410
* Windows support by Ruben Van Boxem.Howard Hinnant2011-10-171-0/+2
| | | | llvm-svn: 142235
* _STD -> _VSTD to avoid macro clash on windowsHoward Hinnant2011-06-301-2/+2
| | | | llvm-svn: 134190
* Applied noexcept to everything in [language.support] (Chapter 18)Howard Hinnant2011-05-261-52/+52
| | | | llvm-svn: 132129
* Added [[noreturn]] attribute everywhere it should beHoward Hinnant2011-05-261-7/+9
| | | | llvm-svn: 132125
* N3189 Observers for the three handler functionsHoward Hinnant2010-12-021-0/+4
| | | | llvm-svn: 120712
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* visibility-decoration.Howard Hinnant2010-09-211-9/+12
| | | | llvm-svn: 114486
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-041-6/+6
| | | | | | 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
* Fixing whitespace problemsHoward Hinnant2010-08-221-7/+7
| | | | llvm-svn: 111750
* now works with -fno-exceptions and -fno-rttiHoward Hinnant2010-08-111-0/+6
| | | | llvm-svn: 110828
* Corrected rethrow_if_nestedHoward Hinnant2010-05-281-5/+5
| | | | llvm-svn: 104943
* [except.nested]Howard Hinnant2010-05-271-0/+78
| | | | llvm-svn: 104850
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-111-1/+1
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-111-0/+155
llvm-svn: 103490
OpenPOWER on IntegriCloud