[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:33:26 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: None (bobsayshilol)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/78639.diff


2 Files Affected:

- (modified) libcxx/include/concepts (+1-1) 
- (modified) libcxx/include/sstream (+1-1) 


``````````diff
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
 

``````````

</details>


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


More information about the libcxx-commits mailing list