freebsd-dev/contrib/llvm-project/clang
Dimitry Andric fdf2784101 Apply clang fix for assertion failure compiling science/chrono
Merge commit 6b0f35931a44 from llvm git (by Jennifer Yu):

  Fix signal during the call to checkOpenMPLoop.

  The root problem is a null pointer is accessed during the call to
  checkOpenMPLoop, because loop up bound expr is an error expression
  due to error diagnostic was emit early.

  To fix this, in setLCDeclAndLB, setUB and setStep instead return false,
  return true when LB, UB or Step contains Error, so that the checking is
  stopped in checkOpenMPLoop.

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

Note this only fixes the assertion reported in bug 261567; some other
tweaks for port dependencies are probably still required to make it
build to completion.

PR:		261567
MFC after:	3 days
2022-01-30 21:41:37 +01:00
..
include Merge llvm-project 13.0.0 release 2021-11-13 21:49:29 +01:00
lib Apply clang fix for assertion failure compiling science/chrono 2022-01-30 21:41:37 +01:00
tools Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 2021-11-13 21:39:49 +01:00
utils/TableGen Merge llvm-project main llvmorg-13-init-16847-g88e66fa60ae5 2021-11-13 21:39:49 +01:00
LICENSE.TXT