summaryrefslogtreecommitdiffstats
path: root/libcxx/include/module.modulemap
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-01-07 03:01:24 +0000
committerEric Fiselier <eric@efcs.ca>2017-01-07 03:01:24 +0000
commitcd71f447b7d33689b6149e7f5ef2f1f79aaee157 (patch)
treee8a05138922cf64bc125a7066e7743225ceb87fa /libcxx/include/module.modulemap
parentdeaceefc4b7018d98e0d27c66a0e2e063e1f03f0 (diff)
downloadbcm5719-llvm-cd71f447b7d33689b6149e7f5ef2f1f79aaee157.tar.gz
bcm5719-llvm-cd71f447b7d33689b6149e7f5ef2f1f79aaee157.zip
[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 llvm-svn: 291332
Diffstat (limited to 'libcxx/include/module.modulemap')
-rw-r--r--libcxx/include/module.modulemap1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap
index 95610bfb735..c354cae1e5f 100644
--- a/libcxx/include/module.modulemap
+++ b/libcxx/include/module.modulemap
@@ -485,7 +485,6 @@ module std [system] {
module __tree { header "__tree" export * }
module __tuple { header "__tuple" export * }
module __undef_min_max { header "__undef_min_max" export * }
- module __undef___deallocate { header "__undef___deallocate" export * }
module experimental {
requires cplusplus11
OpenPOWER on IntegriCloud