diff options
| author | Eric Fiselier <eric@efcs.ca> | 2017-01-07 03:01:24 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2017-01-07 03:01:24 +0000 |
| commit | cd71f447b7d33689b6149e7f5ef2f1f79aaee157 (patch) | |
| tree | e8a05138922cf64bc125a7066e7743225ceb87fa /llvm/lib/CodeGen/LexicalScopes.cpp | |
| parent | deaceefc4b7018d98e0d27c66a0e2e063e1f03f0 (diff) | |
| download | bcm5719-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 'llvm/lib/CodeGen/LexicalScopes.cpp')
0 files changed, 0 insertions, 0 deletions

