[Bug 271047] [exp-run] Against llvm-16-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jul 2023 17:33:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271047

--- Comment #93 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8d0cab8800e19cddc56d4a532abdbe9f0ac6c620

commit 8d0cab8800e19cddc56d4a532abdbe9f0ac6c620
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-07-19 09:18:50 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-07-19 17:14:23 +0000

    Merge commit 9ca395b5ade1 from llvm-project (by Haojian Wu):

      [clang][AST] Propagate the contains-errors bit to DeclRefExpr from
VarDecl's initializer.

      Similar to the https://reviews.llvm.org/D86048 (it only sets the bit for
C++
      code), we propagate the contains-errors bit for C-code path.

      Fixes https://github.com/llvm/llvm-project/issues/50236
      Fixes https://github.com/llvm/llvm-project/issues/50243
      Fixes https://github.com/llvm/llvm-project/issues/48636
      Fixes https://github.com/llvm/llvm-project/issues/50320

      Differential Revision: https://reviews.llvm.org/D154861

    This fixes an assertion ('Assertion failed: ((LHSExpr->containsErrors()
    || RHSExpr->containsErrors()) && "Should only occur in error-recovery
    path."), function BuildBinOp') when building parts of dtrace in certain
    scenarios.

    Reported by:    dstolfa
    PR:             271047
    MFC after:      1 month

 contrib/llvm-project/clang/lib/AST/ComputeDependence.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.