carlosgalvezp wrote: I realize it's probably very hard (if not impossible) to detect whether a class is a base class unless it has virtual functions.
That's why the corresponding AUTOSAR rule bans only non-final classes. But that is a bit overkill and leads to some pain. https://github.com/llvm/llvm-project/pull/91951 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits