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 Import the updated Arm Optimized Routines 2022-09-06 17:20:29 +01:00
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 Import bionic's x86_64 optimized string routines 2022-08-16 13:27:11 -04:00
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 contrib/bsddialog: Import version 0.4 2022-09-25 15:09:16 +02:00
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 Remove FREEBSD-vendor files 2021-12-06 16:36:44 -05:00
capsicum-test Update capsicum-test to eab7a83b05becf64439b4b256b3d756b353fbbbb 2022-09-13 13:42:46 -04:00
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 dma: restore addition of newline when missing from input 2022-10-12 11:59:01 -04:00
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 MFV: Restore the ability to process files from stdin immediately. 2022-10-27 00:12:53 -07:00
flex
gdtoa
googletest
hyperv/tools
jemalloc jemalloc: Define SWAP_RESERVE_* if not provided by the system headers 2022-09-17 01:35:35 +03:00
kyua
ldns
ldns-host
less MFV: less v608 2022-09-05 22:52:39 -07:00
lib9p lib9p: Remove potential buffer overwrite in l9p_puqids() 2022-08-08 12:50:43 -04:00
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 Merge libcxxrt commit 5d8a15823a103bbc27f1bfdcf2b5aa008fab57dd 2022-08-08 12:50:48 -04:00
libdivsufsort
libedit libedit: update to snapshot 2023-01-06 2023-02-06 14:25:06 +01:00
libevent
libexecinfo
libfido2 libfido2: Address CHERI compatibility 2021-10-06 21:40:26 -04:00
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 mandoc: workaround lack of macro parsing in list -width 2022-05-31 10:06:46 -05:00
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 ntp: Revert "Disable ntpd stack gap. When ASLR with STACK GAP != 0 ntpd suffers SIGSEGV." 2021-10-15 16:06:26 -07:00
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 OpenBSM: fix free() in au_read_rec error case 2022-10-24 09:49:30 -04:00
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 contrib/terminus: update to terminus-font-4.49.1 2022-02-02 15:42:18 +02:00
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