See the discussion on
https://reviews.llvm.org/rG4852c770fe8703145dd2a35395985646ce57a454
The GCC behavior (https://gcc.gnu.org/PR102168)
seems less useful.
Unconditional -Wnon-virtual-dtor led to other unnecessary workarounds like
6df09d6ccbc0cb72d3278cafb592e9bc0e6b84a1
This patches uses a variant of 4bb5f44c701402462cb93ef00d46d52382f39f11 check to detect GCC PR102168