aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/replace.h
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-02-28 16:37:25 -0500
committerLouis Dionne <ldionne.2@gmail.com>2022-03-01 08:20:24 -0500
commit368faacac7525e538fa6680aea74e19a75e3458d (patch)
tree8d30d81bea34e7779e3504bb6221f698bff2e23a /libcxx/include/__algorithm/replace.h
parent5c73db24df14501e1a76ef2e31111562a3a3287d (diff)
downloadllvm-368faacac7525e538fa6680aea74e19a75e3458d.zip
llvm-368faacac7525e538fa6680aea74e19a75e3458d.tar.gz
llvm-368faacac7525e538fa6680aea74e19a75e3458d.tar.bz2
[libc++] Revert "Protect users from relying on detail headers" & related changes
This commit reverts 5aaefa51 (and also partly 7f285f48e77 and b6d75682f9, which were related to the original commit). As landed, 5aaefa51 had unintended consequences on some downstream bots and didn't have proper coverage upstream due to a few subtle things. Implementing this is something we should do in libc++, however we'll first need to address a few issues listed in https://reviews.llvm.org/D106124#3349710. Differential Revision: https://reviews.llvm.org/D120683
Diffstat (limited to 'libcxx/include/__algorithm/replace.h')
-rw-r--r--libcxx/include/__algorithm/replace.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/__algorithm/replace.h b/libcxx/include/__algorithm/replace.h
index 3454403..d0ae8f6 100644
--- a/libcxx/include/__algorithm/replace.h
+++ b/libcxx/include/__algorithm/replace.h
@@ -13,7 +13,6 @@
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
-# pragma clang include_instead(<algorithm>)
#endif
_LIBCPP_BEGIN_NAMESPACE_STD