[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [flang] [lld] [lldb] [llvm] [mlir] [openmp] Treewide C++26/2d fixes (PR #223284)

via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 26 18:56:44 PDT 2026


================
@@ -6175,7 +6105,7 @@ LValue CodeGenFunction::EmitCompoundLiteralLValue(const CompoundLiteralExpr *E){
     if (QualType::DestructionKind DtorKind = E->getType().isDestructedType())
       pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr,
                                   E->getType(), getDestroyer(DtorKind),
-                                  DtorKind & EHCleanup);
+                                  bool(llvm::to_underlying(DtorKind) & llvm::to_underlying(EHCleanup)));
----------------
rdong8 wrote:

Real fix: https://github.com/llvm/llvm-project/pull/226743

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


More information about the lldb-commits mailing list