[clang] [CIR] Add VTable class name for array types (PR #164155)

2025-10-19 Thread Mihail Mihov via cfe-commits
MihailMihov wrote: Currently there is no test for this, as I'm not sure how to test it. In the linked issue, `throw` was suggested, but I don't think that can work for arrays as they always go through the array-to-pointer conversion. `typeid` can't be used in the tests and I think it's not imp

[clang] [CIR] Add VTable class name for array types (PR #164155)

2025-10-19 Thread Mihail Mihov via cfe-commits
https://github.com/MihailMihov created https://github.com/llvm/llvm-project/pull/164155 This PR adds the VTable name `_ZTVN10__cxxabiv117__array_type_infoE` for `Type::ConstantArray`, `Type::IncompleteArray` and `Type::VariableArray` in `ItaniumRTTIBuilder::BuildVTablePointer`. issue #163601