[libcxx-commits] [libcxx] 6ebc2a1 - [libc++] Fix typos in deprecation messages for experimental searchers
Joe Loser via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 21 06:56:17 PDT 2022
Author: Joe Loser
Date: 2022-08-21T07:55:14-06:00
New Revision: 6ebc2a189da561fddba0bfae5e2ed49f2cc9dadc
URL: https://github.com/llvm/llvm-project/commit/6ebc2a189da561fddba0bfae5e2ed49f2cc9dadc
DIFF: https://github.com/llvm/llvm-project/commit/6ebc2a189da561fddba0bfae5e2ed49f2cc9dadc.diff
LOG: [libc++] Fix typos in deprecation messages for experimental searchers
Fix the typo in the deprecated messages for these searchers:
`s/exprerimental/experimental`.
Differential Revision: https://reviews.llvm.org/D132317
Added:
Modified:
libcxx/include/experimental/functional
Removed:
################################################################################
diff --git a/libcxx/include/experimental/functional b/libcxx/include/experimental/functional
index 12440744ca503..21c590f650e41 100644
--- a/libcxx/include/experimental/functional
+++ b/libcxx/include/experimental/functional
@@ -85,9 +85,9 @@ _LIBCPP_BEGIN_NAMESPACE_LFTS
# define _LIBCPP_DEPRECATED_BOYER_MOORE_SEARCHER
# define _LIBCPP_DEPRECATED_BOYER_MOORE_HORSPOOL_SEARCHER
#else
-# define _LIBCPP_DEPRECATED_DEFAULT_SEARCHER _LIBCPP_DEPRECATED_("std::exprerimental::default_searcher will be removed in LLVM 17. Use std::default_searcher instead")
-# define _LIBCPP_DEPRECATED_BOYER_MOORE_SEARCHER _LIBCPP_DEPRECATED_("std::exprerimental::boyer_moore_searcher will be removed in LLVM 17. Use std::boyer_moore_searcher instead")
-# define _LIBCPP_DEPRECATED_BOYER_MOORE_HORSPOOL_SEARCHER _LIBCPP_DEPRECATED_("std::exprerimental::boyer_moore_horspool_searcher will be removed in LLVM 17. Use std::boyer_moore_horspool_searcher instead")
+# define _LIBCPP_DEPRECATED_DEFAULT_SEARCHER _LIBCPP_DEPRECATED_("std::experimental::default_searcher will be removed in LLVM 17. Use std::default_searcher instead")
+# define _LIBCPP_DEPRECATED_BOYER_MOORE_SEARCHER _LIBCPP_DEPRECATED_("std::experimental::boyer_moore_searcher will be removed in LLVM 17. Use std::boyer_moore_searcher instead")
+# define _LIBCPP_DEPRECATED_BOYER_MOORE_HORSPOOL_SEARCHER _LIBCPP_DEPRECATED_("std::experimental::boyer_moore_horspool_searcher will be removed in LLVM 17. Use std::boyer_moore_horspool_searcher instead")
#endif
#if _LIBCPP_STD_VER > 11
More information about the libcxx-commits
mailing list