[libcxx-commits] [libcxx] Simplify flip() for std::bitset (PR #120807)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 19 06:56:16 PST 2025


================
@@ -20,161 +20,184 @@ TEST_CONSTEXPR_CXX23 std::vector<std::bitset<N> > get_test_cases();
 
 template <>
 TEST_CONSTEXPR_CXX23 inline std::vector<std::bitset<0> > get_test_cases<0>() {
-    std::vector<std::bitset<0> > cases;
-    cases.push_back(std::bitset<0>());
-    return cases;
+  std::vector<std::bitset<0> > cases;
----------------
philnik777 wrote:

Can you move the formatting into a separate commit? (No review needed)

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


More information about the libcxx-commits mailing list