Skip to content

[libc++] Add missing include <limits> to bitset to_ullong.pass.cpp test #149149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

jwakely
Copy link
Contributor

@jwakely jwakely commented Jul 16, 2025

This was added to to_ulong.pass.cpp years ago by
cf1dc8d but I don't think the other part of that commit matters here.

This was added to to_ulong.pass.cpp years ago by
cf1dc8d but I don't think the other
part of that commit matters here.
@jwakely jwakely requested a review from a team as a code owner July 16, 2025 17:48
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Jul 16, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 16, 2025

@llvm/pr-subscribers-libcxx

Author: Jonathan Wakely (jwakely)

Changes

This was added to to_ulong.pass.cpp years ago by
cf1dc8d but I don't think the other part of that commit matters here.


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

1 Files Affected:

  • (modified) libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp (+1)
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
index 5df6103d79e7a..3c5a57d1c7fec 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
@@ -11,6 +11,7 @@
 #include <bitset>
 #include <algorithm>
 #include <type_traits>
+#include <limits>
 #include <climits>
 #include <cassert>
 #include <stdexcept>

@philnik777 philnik777 merged commit 3071fe5 into llvm:main Jul 17, 2025
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants