[llvm] [ADT] Bitset: add shift operators, word accessors, and etc (PR #193400)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Sun May 3 18:10:14 PDT 2026
================
@@ -294,4 +294,202 @@ TEST(BitsetTest, BitwiseOperators) {
TestXor128.test(127));
}
+TEST(BitsetTest, ShiftOperators) {
----------------
kuhar wrote:
Every new `TEST()` body in this PR contains only static_asserts; none has a runtime assertion; I think the latter are easier to debug in general. I'd keep one static assert per function to make sure it's useable in the constexpr setting but prefer `EXPECT_` elsewhere
https://github.com/llvm/llvm-project/pull/193400
More information about the llvm-commits
mailing list