Re: [PATCH 1/2 v3] Introduce __builtin_is_virtual_base_of

2024-10-01 Thread Giuseppe D'Angelo
Hello, Attaching an updated patch. Thank you, -- Giuseppe D'Angelo From 14f433c3ab7e9f14f9b0ce8efc56871bfb780928 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 29 Jul 2024 17:43:20 +0200 Subject: [PATCH] Introduce __builtin_is_virtual_base_of P2985R0 (C++26) introduces std::is_vir

Re: [PATCH 1/2 v3] Introduce __builtin_is_virtual_base_of

2024-10-01 Thread Jason Merrill
On 10/1/24 7:31 AM, Giuseppe D'Angelo wrote: Hello, Attaching an updated patch. Thanks, I'm pushing this with a few tweaks: +unaccessible base class of @var{derived_type}. "inaccessible" + const bool via_virtual = + binfo_via_virtual (binfo, data->t) != NULL_TREE; Moved