freebsd-dev/contrib
Dimitry Andric 56f2446575 Apply clang fix for assertion building emulators/rpcs3
Merge commit a5e1a93ea10f from llvm-project (by Mariya Podchishchaeva):

  [clang] Fix crash when handling nested immediate invocations

  Before this patch it was expected that if there was several immediate
  invocations they all belong to the same expression evaluation context.
  During parsing of non local variable initializer a new evaluation context is
  pushed, so code like this
  ```
  namespace scope {
  struct channel {
      consteval channel(const char* name) noexcept { }
  };
  consteval const char* make_channel_name(const char* name) { return name;}

  channel rsx_log(make_channel_name("rsx_log"));
  }
  ```
  produced a nested immediate invocation whose subexpressions are attached
  to different expression evaluation contexts. The constructor call
  belongs to TU context and `make_channel_name` call to context of
  variable initializer.

  This patch removes this assumption and adds tracking of previously
  failed immediate invocations, so it is possible when handling an
  immediate invocation th check that its subexpressions from possibly another
  evaluation context contains errors and not produce duplicate
  diagnostics.

  Fixes https://github.com/llvm/llvm-project/issues/58207

  Reviewed By: aaron.ballman, shafik

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

PR:		269489
MFC after:	3 days
2023-04-28 16:09:45 +02:00
..
arm-optimized-routines
atf
bc contrib/bc: update to version 6.4.0 2023-03-10 11:33:33 +01:00
bearssl Merge commit 'd84e570b54961e8874bbd8de25635eb96be0977e' 2023-02-20 22:13:27 -08:00
bionic-x86_64-string
blacklist blacklistd: diff reduction against upstream 2023-01-23 11:22:10 -05:00
bmake Merge bmake-20230414 2023-04-24 16:50:16 -07:00
bsddialog
bsnmp bsnmp: make single bit bitfields unsigned to avoid clang 16 warning 2023-04-17 18:26:03 +02:00
byacc byacc: Adjust expected test output to match our patches. 2023-02-22 20:05:02 +01:00
bzip2
capsicum-test
com_err
cortex-strings
dialog
diff gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
dma
ee ee: Remove two set but unused variables. 2023-04-18 12:53:32 -07:00
elftoolchain readelf: fix -wR option, memory leaks, and -wf minor bug 2023-03-06 12:51:23 -05:00
expat MFV: expat 2.5.0 2022-11-17 22:15:00 -08:00
file
flex
gdtoa
googletest
hyperv/tools
jemalloc
kyua
ldns
ldns-host
less
lib9p
libarchive libarchive: make single bit bitfields unsigned to avoid clang 16 warning 2023-04-17 18:26:20 +02:00
libbegemot
libc-pwcache
libc-vis
libcbor libcbor: update to 0.10.2 2023-04-21 16:10:03 -04:00
libcxxrt
libdivsufsort
libedit libedit: update to snapshot 2023-01-06 2023-02-06 14:25:06 +01:00
libevent
libexecinfo
libfido2
libpcap libpcap: Update to 1.10.3 2023-03-31 16:02:22 -03:00
libucl
libxo Merge commit '7087c8de43b0d5d27c52da6ba2ba4957b7e336ff' into new_merge 2023-01-30 00:04:21 -05:00
llvm-project Apply clang fix for assertion building emulators/rpcs3 2023-04-28 16:09:45 +02:00
lua lua: Update to 5.4.4 2023-02-08 10:33:26 -07:00
lutok
mandoc
mknod
mtree
ncurses
netbsd-tests netbsd-tests: Remove some pointless sleeps from message queue tests 2023-03-10 17:06:46 -05:00
netcat netcat: Allow nc to be an if_tun tunnel broker 2023-01-17 10:05:49 +00:00
ntp
nvi
ofed irdma(4): Upgrade the driver to 1.1.11-k 2023-03-28 14:29:07 -07:00
one-true-awk awk: errror on printf format strings lacking conversion specifier 2023-04-14 13:31:02 -04:00
openbsm
opencsd/decoder Import OpenCSD v.1.4.0. 2023-03-27 17:03:16 +01:00
openpam
openresolv
pam_modules/pam_passwdqc
pf pflogd: Do not access obsolete structure member pcap.tzoff 2023-03-30 15:58:45 -03:00
pjdfstest
pnglite
pnpinfo pnpinfo: Use C89 function definitions. 2023-04-18 11:31:13 -07:00
processor-trace
sendmail Note upgrade to sendmail 8.17.1 2023-02-01 02:22:39 +00:00
smbfs smbfs: Use C89 function definition for cf_getopt. 2023-04-18 11:20:43 -07:00
sqlite3 sqlite3: Vendor import of sqlite3 3.41.2 2023-04-17 09:02:41 -07:00
tcp_wrappers tcp_wrappers: Use ANSI (c89) definitions for one more function 2023-03-21 16:09:13 -04:00
tcpdump tcpdump: add missing pf reasons and actions 2023-04-18 09:33:33 +02:00
tcsh
telnet telnet: Use C89 function definitions for two stragglers. 2023-04-18 11:27:47 -07:00
terminus
tnftp
traceroute traceroute: Use C89 function definition for one straggler. 2023-04-18 11:28:41 -07:00
tzcode Update tzcode to 2023c. 2023-04-26 11:46:21 +02:00
tzdata contrib/tzdata: import tzdata 2023c 2023-03-29 09:09:54 +08:00
unbound unbound: Vendor import 1.17.1 2023-01-14 21:39:31 -08:00
unvis
vis
wireguard-tools Merge commit '93bf91b4012a28610672d2266366dfa0a663b70f' into HEAD 2022-11-04 22:46:21 -05:00
wpa wpa_supplicant/hostapd: Fix uninitialized packet pointer on error 2023-04-06 07:27:24 -07:00
xz MFV: xz 5.4.2. 2023-03-19 19:30:08 -07:00