[libcxx-commits] [libcxx] [libc++] Add missing include to thread.h (PR #208740)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 10 07:46:43 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Liza Burakova (liza371)
<details>
<summary>Changes</summary>
Change #<!-- -->195509 removed unused transitive includes, but missed adding
<__type_traits/is_integral.h> to thread.h. This caused errors
to Chromium rolls for libc++ as they caught the missing import.
---
Full diff: https://github.com/llvm/llvm-project/pull/208740.diff
1 Files Affected:
- (modified) libcxx/include/__thread/thread.h (+1)
``````````diff
diff --git a/libcxx/include/__thread/thread.h b/libcxx/include/__thread/thread.h
index 24f62bfe5899e..4fd51c12a6dc2 100644
--- a/libcxx/include/__thread/thread.h
+++ b/libcxx/include/__thread/thread.h
@@ -28,6 +28,7 @@
#include <__type_traits/enable_if.h>
#include <__type_traits/invoke.h>
#include <__type_traits/is_constructible.h>
+#include <__type_traits/is_integral.h>
#include <__type_traits/is_pointer.h>
#include <__type_traits/is_same.h>
#include <__type_traits/remove_cvref.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/208740
More information about the libcxx-commits
mailing list