Marshall Clow
d437fa5c8c
Add an _LIBCPP_NORETURN inline function named __throw_XXX for each exception type we define. They either construct and throw the exception, or abort() (if exceptions are disabled). Use these functions everywhere instead of assert()ing when exceptions are disabled. WARNING: This is a behavior change - but only with exceptions disabled. Reviewed as: https://reviews.llvm.org/D23855 .
...
llvm-svn: 279744
2016-08-25 15:09:01 +00:00
Evgeniy Stepanov
cd31b4348a
Cleanup: move visibility/linkage attributes to the first declaration.
...
http://reviews.llvm.org/D15404
llvm-svn: 267093
2016-04-22 01:04:55 +00:00
Eric Fiselier
5c736fe9ab
Fix initialzation order in dynarray
...
llvm-svn: 248988
2015-10-01 07:29:38 +00:00
Saleem Abdulrasool
8e5ce33193
Handle function name conflicts in _LIBCPP_MSVCRT mode
...
Visual Studio's SAL extension uses a macro named __deallocate. This macro is
used pervasively, and gets included through various different ways. This
conflicts with the similarly named interfaces in libc++. Introduce a undef
header similar to __undef_min_max to handle this. This fixes a number of errors
due to the macro replacing the function name.
llvm-svn: 229162
2015-02-13 22:15:32 +00:00
Marshall Clow
8116e1d1c3
Update the synopsis and comments with the results of LWG #2255 . No code to back it up at the moment; just comments
...
llvm-svn: 213768
2014-07-23 16:58:25 +00:00
Richard Smith
ff0aff3caf
Use __builtin_operator_new/__builtin_operator_delete when available. This
...
allows allocations and deallocations to be optimized out.
llvm-svn: 210211
2014-06-04 19:54:15 +00:00
Marshall Clow
21fee96f69
Move <dynarray> into include/experimental, and into the std::experimental namespace, since it's not part of C++14, but of an upcoming TS
...
llvm-svn: 194614
2013-11-13 22:44:48 +00:00