[clang] [clang][bytecode] Fix copy-paste error in needsCtor() (PR #215542)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 05:42:27 PDT 2026


================
@@ -30,10 +30,10 @@ template <typename T> static constexpr bool needsCtor() {
                 std::is_same_v<T, Integral<32, true>> ||
                 std::is_same_v<T, Integral<32, false>> ||
                 std::is_same_v<T, Integral<64, true>> ||
+                std::is_same_v<T, Integral<64, true>> ||
----------------
rdevshp wrote:

Doesn't this check `std::is_same_v<T, Integral<64, true>>` twice?

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


More information about the cfe-commits mailing list