Author: Timm Baeder Date: 2026-08-12T09:46:08+02:00 New Revision: 0b2247a411b210aed837f94c7257e7ea4e9423ae
URL: https://github.com/llvm/llvm-project/commit/0b2247a411b210aed837f94c7257e7ea4e9423ae DIFF: https://github.com/llvm/llvm-project/commit/0b2247a411b210aed837f94c7257e7ea4e9423ae.diff LOG: [clang][bytecode] Fix copy-paste error in needsCtor() (#215542) This was checking for `Integral<64, false>` twice. Added: Modified: clang/lib/AST/ByteCode/Descriptor.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/ByteCode/Descriptor.cpp b/clang/lib/AST/ByteCode/Descriptor.cpp index 3d661455460e3..98be3c592f97f 100644 --- a/clang/lib/AST/ByteCode/Descriptor.cpp +++ b/clang/lib/AST/ByteCode/Descriptor.cpp @@ -31,9 +31,8 @@ template <typename T> static constexpr bool needsCtor() { std::is_same_v<T, Integral<32, false>> || std::is_same_v<T, Integral<64, true>> || std::is_same_v<T, Integral<64, false>> || - std::is_same_v<T, Integral<64, false>> || - std::is_same_v<T, IntegralAP<false>> || std::is_same_v<T, IntegralAP<true>> || + std::is_same_v<T, IntegralAP<false>> || std::is_same_v<T, Floating> || std::is_same_v<T, Boolean>) return false; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
