[libcxx-commits] [libcxx] [libc++] Fix typo in _LIBCPP_REMOVE_TRANSITIVE_INCLUDES (PR #78639)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 18 14:32:39 PST 2024


https://github.com/bobsayshilol created https://github.com/llvm/llvm-project/pull/78639

Spotted by inspection when trialling out `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES`. No other instances of `_LIPCPP_` were found in the repo.

>From b92facc888bc2e2bb5b1f015772655fe70220871 Mon Sep 17 00:00:00 2001
From: bobsayshilol <bobsayshilol at live.co.uk>
Date: Thu, 18 Jan 2024 22:04:46 +0000
Subject: [PATCH] [libc++] Fix typo in _LIBCPP_REMOVE_TRANSITIVE_INCLUDES

---
 libcxx/include/concepts | 2 +-
 libcxx/include/sstream  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcxx/include/concepts b/libcxx/include/concepts
index 196fa2e0ea7069..5fdf30ecfbd3fb 100644
--- a/libcxx/include/concepts
+++ b/libcxx/include/concepts
@@ -155,7 +155,7 @@ namespace std {
 #include <__config>
 #include <version>
 
-#if _LIBCPP_STD_VER <= 20 && !defined(_LIPCPP_REMOVE_TRANSITIVE_INCLUDES)
+#if _LIBCPP_STD_VER <= 20 && !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES)
 #  include <type_traits>
 #endif
 
diff --git a/libcxx/include/sstream b/libcxx/include/sstream
index 9f75b7e0ac9e4b..6c354cf0b39737 100644
--- a/libcxx/include/sstream
+++ b/libcxx/include/sstream
@@ -1108,7 +1108,7 @@ _LIBCPP_END_NAMESPACE_STD
 
 _LIBCPP_POP_MACROS
 
-#if _LIBCPP_STD_VER <= 20 && !defined(_LIPCPP_REMOVE_TRANSITIVE_INCLUDES)
+#if _LIBCPP_STD_VER <= 20 && !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES)
 #  include <type_traits>
 #endif
 



More information about the libcxx-commits mailing list