[clang] [clang] Allow devirtualisation of indirect calls to final virtual methods (PR #165341)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 28 19:41:07 PDT 2025


ChuanqiXu9 wrote:

And also, when bootstrapping, have you met errors like:  `undefined symbol: clang::ImplicitConceptSpecializationDecl::~ImplicitConceptSpecializationDecl()`? There are other similar cases.

The common point of these decl is, they have a virtual destructor but they don't have any other virtual function. This is why my previous patch wrote: https://github.com/ChuanqiXu9/llvm-project/commit/40ceabea69d20e4c8b0e5415e4f6c0b37c6b863a#diff-9f23818ed51d0b117b5692129d0801721283d0f128a01cbc562353da0266d7adR1375-R1382

https://github.com/llvm/llvm-project/pull/165341


More information about the cfe-commits mailing list