History log of /external/libcxx/src/experimental/memory_resource.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
32b19c3d9fdde3d93288593ae7492ec837e87967 07-Jan-2017 Eric Fiselier <eric@efcs.ca> [libc++] Tolerate presence of __deallocate macro

Summary:
On Windows the identifier `__deallocate` is defined as a macro by one of the Windows system headers. Previously libc++ worked around this by `#undef __deallocate` and generating a warning. However this causes the WIN32 version of `__threading_support` to always generate a warning on Windows. This is not OK.

This patch renames all usages of `__deallocate` internally as to not conflict with the macro.

Reviewers: mclow.lists, majnemer, rnk, rsmith, smeenai, compnerd

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28426

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
c3589a8305a317cfa0757bc5f4136a7b93684d23 05-Jan-2017 Eric Fiselier <eric@efcs.ca> [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS

The name _LIBCPP_TYPE_VIS_ONLY is no longer accurate because both
_LIBCPP_TYPE_VIS and _LIBCPP_TYPE_VIS_ONLY expand to
__attribute__((__type_visibility__)) with Clang. The only remaining difference
is that _LIBCPP_TYPE_VIS_ONLY can be applied to templates whereas
_LIBCPP_TYPE_VIS cannot (due to dllimport/dllexport not being allowed on
templates).

This patch renames _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
5e5eb6348d73a6d59c75beb1359977ac7b6f7b45 03-Sep-2016 Eric Fiselier <eric@efcs.ca> memory_resource still needs init_priority when built with GCC 4.9

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@280585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
766a31af3a366198261ad65d545492aec0969df2 03-Sep-2016 Eric Fiselier <eric@efcs.ca> Define _LIBCPP_SAFE_STATIC __attribute__((require_constant_initialization)), and apply it to memory_resource

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@280561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
14c09a2413ed5cc4914d1690f5dbfb9420a45b3c 25-Aug-2016 Marshall Clow <mclow.lists@gmail.com> 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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@279744 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
4a98c1e77677c08d62292fb030636d0f87d26dc3 11-Jul-2016 Eric Fiselier <eric@efcs.ca> Hide some internal symbols for memory resource.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@275089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
ab46ace714b94f942ade9054305b233e5a21be93 07-May-2016 Eric Fiselier <eric@efcs.ca> Fix memory_resource build for _LIBCPP_HAS_NO_THREADS

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
33861da4f54a5062d426bdae8c33b53aa98b2183 07-May-2016 Eric Fiselier <eric@efcs.ca> Fix one more usage of _LIBCPP_HAS_NO_EXCEPTIONS

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp
257fd699fd62d09908944845fba04c4a9ab8d03b 07-May-2016 Eric Fiselier <eric@efcs.ca> Add <experimental/memory_resource>

Reviewers: mclow.lists, EricWF

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D20007

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/experimental/memory_resource.cpp