Re: [PATCH] Ranger: Mark a few classes as final

2024-07-11 Thread Jeff Law
On 7/11/24 10:02 AM, Andrew Pinski (QUIC) wrote: -Original Message- From: Andrew Pinski (QUIC) Sent: Saturday, June 22, 2024 7:25 AM To: gcc-patches@gcc.gnu.org Cc: Andrew Pinski (QUIC) Subject: [PATCH] Ranger: Mark a few classes as final I noticed there was a warning from clang

RE: [PATCH] Ranger: Mark a few classes as final

2024-07-11 Thread Andrew Pinski (QUIC)
> -Original Message- > From: Andrew Pinski (QUIC) > Sent: Saturday, June 22, 2024 7:25 AM > To: gcc-patches@gcc.gnu.org > Cc: Andrew Pinski (QUIC) > Subject: [PATCH] Ranger: Mark a few classes as final > > I noticed there was a warning from clang about int_range&

[PATCH] Ranger: Mark a few classes as final

2024-06-22 Thread Andrew Pinski
I noticed there was a warning from clang about int_range's dtor being marked as final saying the class cannot be inherited from. So let's mark the few ranger classes as final for those which we know will be final. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * value-range.