[clang] [CIR]lAdd name for function type in vtable (PR #163839)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 09:22:11 PDT 2025


================
@@ -946,8 +946,7 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, const Type *ty) {
 
   case Type::FunctionNoProto:
   case Type::FunctionProto:
-    cgm.errorNYI("VTableClassNameForType: __function_type_info");
-    break;
+    return "__ZTSN10__cxxabiv120__function_type_infoE";
----------------
y-Adrian wrote:

Thank you for the reminder. I fixed it.

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


More information about the cfe-commits mailing list