From 6ebc2a189da561fddba0bfae5e2ed49f2cc9dadc Mon Sep 17 00:00:00 2001 From: Joe Loser Date: Sat, 20 Aug 2022 17:21:13 -0600 Subject: [PATCH] [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 --- libcxx/include/experimental/functional | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcxx/include/experimental/functional b/libcxx/include/experimental/functional index 12440744ca50..21c590f650e4 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