HomeFreeBSD

Apply clang fix for assertion failure building webkit2-gtk

Description

Apply clang fix for assertion failure building webkit2-gtk

Merge commit 30baa5d2a450 from llvm git (by Richard Smith):

PR45879: Fix assert when constant evaluating union assignment.

Consider the form of the first operand of a class assignment not the
second operand when implicitly starting the lifetimes of union members.
Also add a missing check that the assignment call actually came from a
syntactic assignment, not from a direct call to `operator=`.

PR: 264280
Reported by: bapt
MFC after: 3 days

(cherry picked from commit eca6e0f7e460bf9a4a6e1bd5198d75168280c88e)

Details

Provenance
dimAuthored on May 27 2022, 5:43 PM
Parents
rG177466dac805: Avoid adding -d to kernel module link command lines for lld >= 14
Branches
Unknown
Tags
Unknown